public static interface CreatePolicyVersionRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<CreatePolicyVersionRequest.Builder,CreatePolicyVersionRequest>
Modifier and Type | Method and Description |
---|---|
CreatePolicyVersionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreatePolicyVersionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreatePolicyVersionRequest.Builder |
policyDocument(String policyDocument)
The JSON document that describes the policy.
|
CreatePolicyVersionRequest.Builder |
policyName(String policyName)
The policy name.
|
CreatePolicyVersionRequest.Builder |
setAsDefault(Boolean setAsDefault)
Specifies whether the policy version is set as the default.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreatePolicyVersionRequest.Builder policyName(String policyName)
The policy name.
policyName
- The policy name.CreatePolicyVersionRequest.Builder policyDocument(String policyDocument)
The JSON document that describes the policy. Minimum length of 1. Maximum length of 2048, excluding whitespace.
policyDocument
- The JSON document that describes the policy. Minimum length of 1. Maximum length of 2048, excluding
whitespace.CreatePolicyVersionRequest.Builder setAsDefault(Boolean setAsDefault)
Specifies whether the policy version is set as the default. When this parameter is true, the new policy version becomes the operative version (that is, the version that is in effect for the certificates to which the policy is attached).
setAsDefault
- Specifies whether the policy version is set as the default. When this parameter is true, the new
policy version becomes the operative version (that is, the version that is in effect for the
certificates to which the policy is attached).CreatePolicyVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreatePolicyVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2023. All rights reserved.