Interface DeleteResourcePolicyStatementRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeleteResourcePolicyStatementRequest.Builder,DeleteResourcePolicyStatementRequest>,LexModelsV2Request.Builder,SdkBuilder<DeleteResourcePolicyStatementRequest.Builder,DeleteResourcePolicyStatementRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DeleteResourcePolicyStatementRequest
public static interface DeleteResourcePolicyStatementRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<DeleteResourcePolicyStatementRequest.Builder,DeleteResourcePolicyStatementRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeleteResourcePolicyStatementRequest.BuilderexpectedRevisionId(String expectedRevisionId)The identifier of the revision of the policy to delete the statement from.DeleteResourcePolicyStatementRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DeleteResourcePolicyStatementRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)DeleteResourcePolicyStatementRequest.BuilderresourceArn(String resourceArn)The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.DeleteResourcePolicyStatementRequest.BuilderstatementId(String statementId)The name of the statement (SID) to delete from the policy.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
resourceArn
DeleteResourcePolicyStatementRequest.Builder resourceArn(String 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.
-
statementId
DeleteResourcePolicyStatementRequest.Builder statementId(String statementId)
The name of the statement (SID) to delete from the policy.
- Parameters:
statementId- The name of the statement (SID) to delete from the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedRevisionId
DeleteResourcePolicyStatementRequest.Builder expectedRevisionId(String expectedRevisionId)
The identifier of the revision of the policy to delete the statement from. If this revision ID doesn't match the current revision ID, Amazon Lex throws an exception.
If you don't specify a revision, Amazon Lex removes the current contents of the statement.
- Parameters:
expectedRevisionId- The identifier of the revision of the policy to delete the statement from. If this revision ID doesn't match the current revision ID, Amazon Lex throws an exception.If you don't specify a revision, Amazon Lex removes the current contents of the statement.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeleteResourcePolicyStatementRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DeleteResourcePolicyStatementRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-