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 Summary
Modifier and TypeMethodDescriptioncreationDate
(Instant creationDate) The date the policy was created.defaultVersionId
(String defaultVersionId) The default policy version ID.generationId
(String generationId) The generation ID of the policy.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.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
-
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
The policy ARN.
- Parameters:
policyArn
- The policy ARN.- 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.
-
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
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.
- Parameters:
generationId
- The generation ID of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-