Interface GetKeyPolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetKeyPolicyResponse.Builder,,GetKeyPolicyResponse> KmsResponse.Builder,SdkBuilder<GetKeyPolicyResponse.Builder,,GetKeyPolicyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetKeyPolicyResponse
public static interface GetKeyPolicyResponse.Builder
extends KmsResponse.Builder, SdkPojo, CopyableBuilder<GetKeyPolicyResponse.Builder,GetKeyPolicyResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA key policy document in JSON format.policyName(String policyName) The name of the key policy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kms.model.KmsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
policy
A key policy document in JSON format.
- Parameters:
policy- A key policy document in JSON format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyName
The name of the key policy. The only valid value is
default.- Parameters:
policyName- The name of the key policy. The only valid value isdefault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-