Interface GetPolicyVersionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetPolicyVersionResponse.Builder,
,GetPolicyVersionResponse> IotResponse.Builder
,SdkBuilder<GetPolicyVersionResponse.Builder,
,GetPolicyVersionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetPolicyVersionResponse
public static interface GetPolicyVersionResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<GetPolicyVersionResponse.Builder,GetPolicyVersionResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncreationDate
(Instant creationDate) The date the policy was created.generationId
(String generationId) The generation ID of the policy version.isDefaultVersion
(Boolean isDefaultVersion) Specifies whether the policy version is the default.lastModifiedDate
(Instant lastModifiedDate) The date the policy was last modified.The policy ARN.policyDocument
(String policyDocument) The JSON document that describes the policy.policyName
(String policyName) The policy name.policyVersionId
(String policyVersionId) The policy version ID.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
policyArn
The policy ARN.
- Parameters:
policyArn
- The policy ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyName
The policy name.
- Parameters:
policyName
- The policy name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
policyVersionId
The policy version ID.
- Parameters:
policyVersionId
- The policy version ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isDefaultVersion
Specifies whether the policy version is the default.
- Parameters:
isDefaultVersion
- Specifies whether the policy version is the default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
The generation ID of the policy version.
- Parameters:
generationId
- The generation ID of the policy version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-