@Generated(value="software.amazon.awssdk:codegen") public final class CreateGrantResponse extends KmsResponse implements ToCopyableBuilder<CreateGrantResponse.Builder,CreateGrantResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateGrantResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateGrantResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
grantId()
The unique identifier for the grant.
|
String |
grantToken()
The grant token.
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateGrantResponse.Builder> |
serializableBuilderClass() |
CreateGrantResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
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.
public final String grantId()
The unique identifier for the grant.
You can use the GrantId in a ListGrants, RetireGrant, or RevokeGrant operation.
You can use the GrantId in a ListGrants, RetireGrant, or RevokeGrant
operation.
public CreateGrantResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateGrantResponse.Builder,CreateGrantResponse>toBuilder in class AwsResponsepublic static CreateGrantResponse.Builder builder()
public static Class<? extends CreateGrantResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.