Interface DescribeResourcePolicyResponse.Builder

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

  • Method Details

    • policyRevisionId

      DescribeResourcePolicyResponse.Builder policyRevisionId(String policyRevisionId)

      A unique identifier for a revision of the resource policy.

      Parameters:
      policyRevisionId - A unique identifier for a revision of the resource policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourcePolicy

      DescribeResourcePolicyResponse.Builder resourcePolicy(String resourcePolicy)

      The resource policy in a JSON-formatted string.

      Parameters:
      resourcePolicy - The resource policy in a JSON-formatted string.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationTime

      DescribeResourcePolicyResponse.Builder creationTime(Instant creationTime)

      The time when the resource policy was created.

      Parameters:
      creationTime - The time when the resource 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 when the resource policy was last modified.

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