Interface CreateResourcePolicyStatementResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateResourcePolicyStatementResponse.Builder,
,CreateResourcePolicyStatementResponse> LexModelsV2Response.Builder
,SdkBuilder<CreateResourcePolicyStatementResponse.Builder,
,CreateResourcePolicyStatementResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateResourcePolicyStatementResponse
public static interface CreateResourcePolicyStatementResponse.Builder
extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<CreateResourcePolicyStatementResponse.Builder,CreateResourcePolicyStatementResponse>
-
Method Summary
Modifier and TypeMethodDescriptionresourceArn
(String resourceArn) The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.revisionId
(String revisionId) The current revision of the resource policy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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.
-
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.
-