Interface CreateGrantResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<CreateGrantResponse.Builder,CreateGrantResponse>, KmsResponse.Builder, SdkBuilder<CreateGrantResponse.Builder,CreateGrantResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
CreateGrantResponse

public static interface CreateGrantResponse.Builder extends KmsResponse.Builder, SdkPojo, CopyableBuilder<CreateGrantResponse.Builder,CreateGrantResponse>
  • Method Details

    • 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

      The unique identifier for the grant.

      You can use the GrantId in a ListGrants, RetireGrant, or RevokeGrant operation.

      Parameters:
      grantId - The unique identifier for the grant.

      You can use the GrantId in a ListGrants, RetireGrant, or RevokeGrant operation.

      Returns:
      Returns a reference to this object so that method calls can be chained together.