Interface GetKeyPolicyResponse.Builder

  • 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. Valid values are:

      default

      The key policy that you manage.

      AWS_RAM

      The key policy that RAM manages for KMS keys that you share through RAM.

      Parameters:
      policyName - The name of the key policy. Valid values are:

      default

      The key policy that you manage.

      AWS_RAM

      The key policy that RAM manages for KMS keys that you share through RAM.

      Returns:
      Returns a reference to this object so that method calls can be chained together.