Interface CreateGrantResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateGrantResponse.Builder,CreateGrantResponse>,KmsResponse.Builder,SdkBuilder<CreateGrantResponse.Builder,CreateGrantResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateGrantResponse
@Mutable @NotThreadSafe public static interface CreateGrantResponse.Builder extends KmsResponse.Builder, SdkPojo, CopyableBuilder<CreateGrantResponse.Builder,CreateGrantResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateGrantResponse.BuildergrantId(String grantId)The unique identifier for the grant.CreateGrantResponse.BuildergrantToken(String grantToken)The grant token.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.kms.model.KmsResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
grantToken
CreateGrantResponse.Builder grantToken(String 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
CreateGrantResponse.Builder grantId(String 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.
-
-