Interface GetResourcePolicyResponse.Builder

    • Method Detail

      • policy

        GetResourcePolicyResponse.Builder policy​(String policy)

        The resource-based policy document attached to the resource, which can be a table or stream, in JSON format.

        Parameters:
        policy - The resource-based policy document attached to the resource, which can be a table or stream, in JSON format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • revisionId

        GetResourcePolicyResponse.Builder revisionId​(String revisionId)

        A unique string that represents the revision ID of the policy. If you are comparing revision IDs, make sure to always use string comparison logic.

        Parameters:
        revisionId - A unique string that represents the revision ID of the policy. If you are comparing revision IDs, make sure to always use string comparison logic.
        Returns:
        Returns a reference to this object so that method calls can be chained together.