Interface DeleteResourcePolicyStatementRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<DeleteResourcePolicyStatementRequest.Builder,DeleteResourcePolicyStatementRequest>, LexModelsV2Request.Builder, SdkBuilder<DeleteResourcePolicyStatementRequest.Builder,DeleteResourcePolicyStatementRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
DeleteResourcePolicyStatementRequest

  • 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.
    • 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

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.