ToCopyableBuilder<CreateGrantResponse.Builder,CreateGrantResponse>
@Generated("software.amazon.awssdk:codegen") public class CreateGrantResponse extends AmazonWebServiceResult<ResponseMetadata> implements ToCopyableBuilder<CreateGrantResponse.Builder,CreateGrantResponse>
Modifier and Type | Class | Description |
---|---|---|
static interface |
CreateGrantResponse.Builder |
Modifier and Type | Method | Description |
---|---|---|
static CreateGrantResponse.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
String |
grantId() |
The unique identifier for the grant.
|
String |
grantToken() |
The grant token.
|
int |
hashCode() |
|
static Class<? extends CreateGrantResponse.Builder> |
serializableBuilderClass() |
|
CreateGrantResponse.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
setSdkHttpMetadata, setSdkResponseMetadata
public String grantToken()
The grant token.
For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.
For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.
public String grantId()
The unique identifier for the grant.
You can use the GrantId
in a subsequent RetireGrant or RevokeGrant operation.
You can use the GrantId
in a subsequent RetireGrant or RevokeGrant operation.
public CreateGrantResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateGrantResponse.Builder,CreateGrantResponse>
public static CreateGrantResponse.Builder builder()
public static Class<? extends CreateGrantResponse.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.