Interface CreateGrantResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateGrantResponse.Builder,,CreateGrantResponse> KmsResponse.Builder,SdkBuilder<CreateGrantResponse.Builder,,CreateGrantResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateGrantResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier for the grant.grantToken(String grantToken) The grant token.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kms.model.KmsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
grantToken
The grant token.
Use a grant token when your permission to call this operation comes from a new grant that has not yet achieved eventual consistency. For more information, see Grant token and Using a grant token in the Key Management Service Developer Guide.
- Parameters:
grantToken- The grant token.Use a grant token when your permission to call this operation comes from a new grant that has not yet achieved eventual consistency. For more information, see Grant token and Using a grant token in the Key Management Service Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantId
The unique identifier for the grant.
You can use the
GrantIdin a ListGrants, RetireGrant, or RevokeGrant operation.- Parameters:
grantId- The unique identifier for the grant.You can use the
GrantIdin a ListGrants, RetireGrant, or RevokeGrant operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-