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 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

      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 is default.
      Returns:
      Returns a reference to this object so that method calls can be chained together.