Interface GetResourcePolicyResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetResourcePolicyResponse.Builder,GetResourcePolicyResponse>, DynamoDbResponse.Builder, SdkBuilder<GetResourcePolicyResponse.Builder,GetResourcePolicyResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetResourcePolicyResponse

public static interface GetResourcePolicyResponse.Builder extends DynamoDbResponse.Builder, SdkPojo, CopyableBuilder<GetResourcePolicyResponse.Builder,GetResourcePolicyResponse>
  • Method Details

    • 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're 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're 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.