JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

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.codeartifact.model

Class ResourcePolicy

    • Constructor Detail

      • ResourcePolicy

        public ResourcePolicy()
    • Method Detail

      • setResourceArn

        public void setResourceArn(String resourceArn)

        The ARN of the resource associated with the resource policy

        Parameters:
        resourceArn - The ARN of the resource associated with the resource policy
      • getResourceArn

        public String getResourceArn()

        The ARN of the resource associated with the resource policy

        Returns:
        The ARN of the resource associated with the resource policy
      • withResourceArn

        public ResourcePolicy withResourceArn(String resourceArn)

        The ARN of the resource associated with the resource policy

        Parameters:
        resourceArn - The ARN of the resource associated with the resource policy
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRevision

        public void setRevision(String revision)

        The current revision of the resource policy.

        Parameters:
        revision - The current revision of the resource policy.
      • getRevision

        public String getRevision()

        The current revision of the resource policy.

        Returns:
        The current revision of the resource policy.
      • withRevision

        public ResourcePolicy withRevision(String revision)

        The current revision of the resource policy.

        Parameters:
        revision - The current revision of the resource policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDocument

        public void setDocument(String document)

        The resource policy formatted in JSON.

        Parameters:
        document - The resource policy formatted in JSON.
      • getDocument

        public String getDocument()

        The resource policy formatted in JSON.

        Returns:
        The resource policy formatted in JSON.
      • withDocument

        public ResourcePolicy withDocument(String document)

        The resource policy formatted in JSON.

        Parameters:
        document - The resource policy formatted in JSON.
        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 によって変換されたページ (->オリジナル) /