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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetPolicyResponse.BuildercreationDate(Instant creationDate)The date the policy was created.GetPolicyResponse.BuilderdefaultVersionId(String defaultVersionId)The default policy version ID.GetPolicyResponse.BuildergenerationId(String generationId)The generation ID of the policy.GetPolicyResponse.BuilderlastModifiedDate(Instant lastModifiedDate)The date the policy was last modified.GetPolicyResponse.BuilderpolicyArn(String policyArn)The policy ARN.GetPolicyResponse.BuilderpolicyDocument(String policyDocument)The JSON document that describes the policy.GetPolicyResponse.BuilderpolicyName(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 Detail
-
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.
-
-