Interface DescribeResourcePolicyResponse.Builder

    • Method Detail

      • resourcePolicy

        DescribeResourcePolicyResponse.Builder resourcePolicy​(String resourcePolicy)

        The JSON body of the resource-based policy.

        Parameters:
        resourcePolicy - The JSON body of the resource-based policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTime

        DescribeResourcePolicyResponse.Builder creationTime​(Instant creationTime)

        The time at which the policy was created.

        Parameters:
        creationTime - The time at which the policy was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedTime

        DescribeResourcePolicyResponse.Builder lastModifiedTime​(Instant lastModifiedTime)

        The time at which the policy was last modified.

        Parameters:
        lastModifiedTime - The time at which the policy was last modified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyRevisionId

        DescribeResourcePolicyResponse.Builder policyRevisionId​(String policyRevisionId)

        The revision ID of the policy. Each time you modify a policy, Amazon Comprehend assigns a new revision ID, and it deletes the prior version of the policy.

        Parameters:
        policyRevisionId - The revision ID of the policy. Each time you modify a policy, Amazon Comprehend assigns a new revision ID, and it deletes the prior version of the policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.