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 CreateResourcePolicyResult

    • Constructor Detail

      • CreateResourcePolicyResult

        public CreateResourcePolicyResult()
    • Method Detail

      • setResourceArn

        public void setResourceArn(String resourceArn)

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

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

        public String getResourceArn()

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

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

        public CreateResourcePolicyResult withResourceArn(String resourceArn)

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

        Parameters:
        resourceArn - The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy was attached to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRevisionId

        public void setRevisionId(String 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.
      • getRevisionId

        public String getRevisionId()

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

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