Interface DescribeResourcePolicyResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<DescribeResourcePolicyResponse.Builder,DescribeResourcePolicyResponse>, LexModelsV2Response.Builder, SdkBuilder<DescribeResourcePolicyResponse.Builder,DescribeResourcePolicyResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
DescribeResourcePolicyResponse

public static interface DescribeResourcePolicyResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<DescribeResourcePolicyResponse.Builder,DescribeResourcePolicyResponse>
  • Method Details

    • resourceArn

      The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.

      Parameters:
      resourceArn - The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policy

      The JSON structure that contains the resource policy. For more information about the contents of a JSON policy document, see IAM JSON policy reference .

      Parameters:
      policy - The JSON structure that contains the resource policy. For more information about the contents of a JSON policy document, see IAM JSON policy reference .
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • revisionId

      The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.

      Parameters:
      revisionId - The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.