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

Class GetResourcePolicyResult

    • Constructor Detail

      • GetResourcePolicyResult

        public GetResourcePolicyResult()
    • Method Detail

      • setPolicy

        public void setPolicy(String policy)

        The resource-based policy.

        This field's value must be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.

        The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.

        Parameters:
        policy - The resource-based policy.
      • getPolicy

        public String getPolicy()

        The resource-based policy.

        This field's value will be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.

        Returns:
        The resource-based policy.
      • withPolicy

        public GetResourcePolicyResult withPolicy(String policy)

        The resource-based policy.

        This field's value must be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.

        The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.

        Parameters:
        policy - The resource-based policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRevisionId

        public void setRevisionId(String revisionId)

        The revision ID.

        Parameters:
        revisionId - The revision ID.
      • getRevisionId

        public String getRevisionId()

        The revision ID.

        Returns:
        The revision ID.
      • withRevisionId

        public GetResourcePolicyResult withRevisionId(String revisionId)

        The revision ID.

        Parameters:
        revisionId - The revision ID.
        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 によって変換されたページ (->オリジナル) /