public static interface CreatePolicyVersionRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<CreatePolicyVersionRequest.Builder,CreatePolicyVersionRequest>
Modifier and Type | Method and Description |
---|---|
CreatePolicyVersionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreatePolicyVersionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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
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)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreatePolicyVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.