CopyableBuilder<GetKeyPolicyRequest.Builder,GetKeyPolicyRequest>
, SdkBuilder<GetKeyPolicyRequest.Builder,GetKeyPolicyRequest>
public static interface GetKeyPolicyRequest.Builder extends CopyableBuilder<GetKeyPolicyRequest.Builder,GetKeyPolicyRequest>
Modifier and Type | Method | Description |
---|---|---|
GetKeyPolicyRequest.Builder |
keyId(String keyId) |
A unique identifier for the customer master key.
|
GetKeyPolicyRequest.Builder |
policyName(String policyName) |
String that contains the name of the policy.
|
copy
apply, build
GetKeyPolicyRequest.Builder keyId(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
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
GetKeyPolicyRequest.Builder policyName(String policyName)
String that contains the name of the policy. Currently, this must be "default". Policy names can be discovered by calling ListKeyPolicies.
policyName
- String that contains the name of the policy. Currently, this must be "default". Policy names can be
discovered by calling ListKeyPolicies.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.