Interface CreatePolicyVersionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreatePolicyVersionResponse.Builder,,CreatePolicyVersionResponse> IotResponse.Builder,SdkBuilder<CreatePolicyVersionResponse.Builder,,CreatePolicyVersionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreatePolicyVersionResponse
public static interface CreatePolicyVersionResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<CreatePolicyVersionResponse.Builder,CreatePolicyVersionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionisDefaultVersion(Boolean isDefaultVersion) Specifies whether the policy version is the default.The policy ARN.policyDocument(String policyDocument) The JSON document that describes the policy.policyVersionId(String policyVersionId) The policy version ID.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.
-
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.
-