Interface GetResourcePolicyResponse.Builder

  • Method Details

    • resourceArn

      GetResourcePolicyResponse.Builder resourceArn(String resourceArn)

      ARN of the agent context.

      Parameters:
      resourceArn - ARN of the agent context.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policy

      The resource-based policy document.

      Parameters:
      policy - The resource-based policy document.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • revisionId

      GetResourcePolicyResponse.Builder revisionId(String revisionId)

      Current revision. Pass it to PutResourcePolicy or DeleteResourcePolicy as expectedRevisionId.

      Parameters:
      revisionId - Current revision. Pass it to PutResourcePolicy or DeleteResourcePolicy as expectedRevisionId.
      Returns:
      Returns a reference to this object so that method calls can be chained together.