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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetKeyPolicyResponse.Builderpolicy(String policy)A key policy document in JSON format.GetKeyPolicyResponse.BuilderpolicyName(String policyName)The name of the key policy.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.kms.model.KmsResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
policy
GetKeyPolicyResponse.Builder policy(String 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
GetKeyPolicyResponse.Builder policyName(String 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.
-
-