public static interface CreateGrantResponse.Builder extends KMSResponse.Builder, CopyableBuilder<CreateGrantResponse.Builder,CreateGrantResponse>
Modifier and Type | Method and Description |
---|---|
CreateGrantResponse.Builder |
grantId(String grantId)
The unique identifier for the grant.
|
CreateGrantResponse.Builder |
grantToken(String grantToken)
The grant token.
|
build
copy
apply, build
CreateGrantResponse.Builder grantToken(String grantToken)
The grant token.
For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.
grantToken
- The grant token.
For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.
CreateGrantResponse.Builder grantId(String grantId)
The unique identifier for the grant.
You can use the GrantId
in a subsequent RetireGrant or RevokeGrant operation.
grantId
- The unique identifier for the grant.
You can use the GrantId
in a subsequent RetireGrant or RevokeGrant
operation.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.