@Generated(value="software.amazon.awssdk:codegen") public final class RevokeGrantRequest extends KmsRequest implements ToCopyableBuilder<RevokeGrantRequest.Builder,RevokeGrantRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
RevokeGrantRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RevokeGrantRequest.Builder |
builder() |
Boolean |
dryRun()
Checks if your request will succeed.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
grantId()
Identifies the grant to revoke.
|
int |
hashCode() |
String |
keyId()
A unique identifier for the KMS key associated with the grant.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RevokeGrantRequest.Builder> |
serializableBuilderClass() |
RevokeGrantRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String keyId()
A unique identifier for the KMS key associated with the grant. To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
Specify the key ID or key ARN of the KMS key. To specify a KMS key in a different Amazon Web Services account, you must use the key ARN.
For example:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
Specify the key ID or key ARN of the KMS key. To specify a KMS key in a different Amazon Web Services account, you must use the key ARN.
For example:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
public final String grantId()
Identifies the grant to revoke. To get the grant ID, use CreateGrant, ListGrants, or ListRetirableGrants.
public final Boolean dryRun()
Checks if your request will succeed. DryRun is an optional parameter.
To learn more about how to use this parameter, see Testing your KMS API calls in the Key Management Service Developer Guide.
DryRun is an optional parameter.
To learn more about how to use this parameter, see Testing your KMS API calls in the Key Management Service Developer Guide.
public RevokeGrantRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RevokeGrantRequest.Builder,RevokeGrantRequest>toBuilder in class KmsRequestpublic static RevokeGrantRequest.Builder builder()
public static Class<? extends RevokeGrantRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic 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 SdkRequestCopyright © 2023. All rights reserved.