public static interface DescribeResourcePolicyResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<DescribeResourcePolicyResponse.Builder,DescribeResourcePolicyResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeResourcePolicyResponse.Builder |
policy(String policy)
The JSON structure that contains the resource policy.
|
DescribeResourcePolicyResponse.Builder |
resourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
|
DescribeResourcePolicyResponse.Builder |
revisionId(String revisionId)
The current revision of the resource policy.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeResourcePolicyResponse.Builder resourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
resourceArn - The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.DescribeResourcePolicyResponse.Builder policy(String 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 .
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 .DescribeResourcePolicyResponse.Builder revisionId(String 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.
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.Copyright © 2021. All rights reserved.