Interface GetResourcePolicyResponse.Builder

  • Method Details

    • resourceArn

      GetResourcePolicyResponse.Builder resourceArn(String resourceArn)

      The KeyARN of the key.

      Parameters:
      resourceArn - The KeyARN of the key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policy

      The resource-based policy attached to the key, in JSON format.

      Parameters:
      policy - The resource-based policy attached to the key, in JSON format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.