public static interface CreateResourcePolicyRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<CreateResourcePolicyRequest.Builder,CreateResourcePolicyRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateResourcePolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateResourcePolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateResourcePolicyRequest.Builder |
policy(String policy)
A resource policy to add to the resource.
|
CreateResourcePolicyRequest.Builder |
resourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateResourcePolicyRequest.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.CreateResourcePolicyRequest.Builder policy(String policy)
A resource policy to add to the resource. The policy is a JSON structure that contains one or more statements that define the policy. The policy must follow the IAM syntax. For more information about the contents of a JSON policy document, see IAM JSON policy reference .
If the policy isn't valid, Amazon Lex returns a validation exception.
policy - A resource policy to add to the resource. The policy is a JSON structure that contains one or more
statements that define the policy. The policy must follow the IAM syntax. For more information about
the contents of a JSON policy document, see IAM JSON policy
reference .
If the policy isn't valid, Amazon Lex returns a validation exception.
CreateResourcePolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateResourcePolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.