public static interface CreatePolicyVersionRequest.Builder extends IoTRequest.Builder, CopyableBuilder<CreatePolicyVersionRequest.Builder,CreatePolicyVersionRequest>
| Modifier and Type | Method and Description |
|---|---|
CreatePolicyVersionRequest.Builder |
policyDocument(String policyDocument)
The JSON document that describes the policy.
|
CreatePolicyVersionRequest.Builder |
policyName(String policyName)
The policy name.
|
CreatePolicyVersionRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreatePolicyVersionRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
CreatePolicyVersionRequest.Builder |
setAsDefault(Boolean setAsDefault)
Specifies whether the policy version is set as the default.
|
buildrequestOverrideConfigcopyapply, buildCreatePolicyVersionRequest.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 whitespaces
policyDocument - The JSON document that describes the policy. Minimum length of 1. Maximum length of 2048, excluding
whitespacesCreatePolicyVersionRequest.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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CreatePolicyVersionRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.