Interface GetPolicyResponse.Builder

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

public static interface GetPolicyResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<GetPolicyResponse.Builder,GetPolicyResponse>
  • Method Details

    • policyName

      GetPolicyResponse.Builder policyName(String policyName)

      The policy name.

      Parameters:
      policyName - The policy name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyArn

      GetPolicyResponse.Builder policyArn(String policyArn)

      The policy ARN.

      Parameters:
      policyArn - The policy ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyDocument

      GetPolicyResponse.Builder policyDocument(String policyDocument)

      The JSON document that describes the policy.

      Parameters:
      policyDocument - The JSON document that describes the policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultVersionId

      GetPolicyResponse.Builder defaultVersionId(String defaultVersionId)

      The default policy version ID.

      Parameters:
      defaultVersionId - The default policy version ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationDate

      GetPolicyResponse.Builder creationDate(Instant creationDate)

      The date the policy was created.

      Parameters:
      creationDate - The date the policy was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedDate

      GetPolicyResponse.Builder lastModifiedDate(Instant lastModifiedDate)

      The date the policy was last modified.

      Parameters:
      lastModifiedDate - The date the policy was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • generationId

      GetPolicyResponse.Builder generationId(String generationId)

      The generation ID of the policy.

      Parameters:
      generationId - The generation ID of the policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.