CopyableBuilder<CreatePolicyVersionRequest.Builder,CreatePolicyVersionRequest>
, SdkBuilder<CreatePolicyVersionRequest.Builder,CreatePolicyVersionRequest>
public static interface CreatePolicyVersionRequest.Builder extends CopyableBuilder<CreatePolicyVersionRequest.Builder,CreatePolicyVersionRequest>
Modifier and Type | Method | Description |
---|---|---|
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.
|
copy
apply, 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 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).Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.