JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.lexmodelsv2.model

Class DeleteResourcePolicyStatementRequest

    • Constructor Detail

      • DeleteResourcePolicyStatementRequest

        public DeleteResourcePolicyStatementRequest()
    • Method Detail

      • setResourceArn

        public void setResourceArn(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.
      • getResourceArn

        public String getResourceArn()

        The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.

        Returns:
        The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
      • withResourceArn

        public DeleteResourcePolicyStatementRequest withResourceArn(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.
      • setStatementId

        public void setStatementId(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.
      • getStatementId

        public String getStatementId()

        The name of the statement (SID) to delete from the policy.

        Returns:
        The name of the statement (SID) to delete from the policy.
      • withStatementId

        public DeleteResourcePolicyStatementRequest withStatementId(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.
      • setExpectedRevisionId

        public void setExpectedRevisionId(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.

      • getExpectedRevisionId

        public String getExpectedRevisionId()

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

      • withExpectedRevisionId

        public DeleteResourcePolicyStatementRequest withExpectedRevisionId(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.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /