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 DeleteResourcePolicyRequest

    • Constructor Detail

      • DeleteResourcePolicyRequest

        public DeleteResourcePolicyRequest()
    • Method Detail

      • setResourceArn

        public void setResourceArn(String resourceArn)

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

        Parameters:
        resourceArn - The Amazon Resource Name (ARN) of the bot or bot alias that has the resource policy attached.
      • getResourceArn

        public String getResourceArn()

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

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

        public DeleteResourcePolicyRequest withResourceArn(String resourceArn)

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

        Parameters:
        resourceArn - The Amazon Resource Name (ARN) of the bot or bot alias that has the resource policy attached.
        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 to edit. If this ID doesn't match the current revision number, Amazon Lex returns an exception

        If you don't specify a revision ID, Amazon Lex will delete the current policy.

        Parameters:
        expectedRevisionId - The identifier of the revision to edit. If this ID doesn't match the current revision number, Amazon Lex returns an exception

        If you don't specify a revision ID, Amazon Lex will delete the current policy.

      • getExpectedRevisionId

        public String getExpectedRevisionId()

        The identifier of the revision to edit. If this ID doesn't match the current revision number, Amazon Lex returns an exception

        If you don't specify a revision ID, Amazon Lex will delete the current policy.

        Returns:
        The identifier of the revision to edit. If this ID doesn't match the current revision number, Amazon Lex returns an exception

        If you don't specify a revision ID, Amazon Lex will delete the current policy.

      • withExpectedRevisionId

        public DeleteResourcePolicyRequest withExpectedRevisionId(String expectedRevisionId)

        The identifier of the revision to edit. If this ID doesn't match the current revision number, Amazon Lex returns an exception

        If you don't specify a revision ID, Amazon Lex will delete the current policy.

        Parameters:
        expectedRevisionId - The identifier of the revision to edit. If this ID doesn't match the current revision number, Amazon Lex returns an exception

        If you don't specify a revision ID, Amazon Lex will delete the current policy.

        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 によって変換されたページ (->オリジナル) /