Cloneable
, ReadLimitInfo
, ToCopyableBuilder<GetKeyPolicyRequest.Builder,GetKeyPolicyRequest>
@Generated("software.amazon.awssdk:codegen") public class GetKeyPolicyRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<GetKeyPolicyRequest.Builder,GetKeyPolicyRequest>
Modifier and Type | Class | Description |
---|---|---|
static interface |
GetKeyPolicyRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
static GetKeyPolicyRequest.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
keyId() |
A unique identifier for the customer master key.
|
String |
policyName() |
String that contains the name of the policy.
|
static Class<? extends GetKeyPolicyRequest.Builder> |
serializableBuilderClass() |
|
GetKeyPolicyRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String keyId()
A unique identifier for the customer master key. This value can be a globally unique identifier or the fully specified ARN to a key.
Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012
Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012
Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012
Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012
public String policyName()
String that contains the name of the policy. Currently, this must be "default". Policy names can be discovered by calling ListKeyPolicies.
public GetKeyPolicyRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetKeyPolicyRequest.Builder,GetKeyPolicyRequest>
public static GetKeyPolicyRequest.Builder builder()
public static Class<? extends GetKeyPolicyRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.