public static final class CreatePolicyVersionRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreatePolicyVersionRequest |
build() |
CreatePolicyVersionRequest.Builder |
policyDocument(String policyDocument)
The document of the policy.
|
CreatePolicyVersionRequest.Builder |
policyName(String policyName)
The name of the policy.
|
CreatePolicyVersionRequest.Builder |
setAsDefault(Boolean setAsDefault)
Specifies whether to set the policy version as the default version.
|
public CreatePolicyVersionRequest.Builder policyDocument(String policyDocument)
The document must be 1 to 2,048 characters in length.
public CreatePolicyVersionRequest.Builder policyName(String policyName)
The name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-).
public CreatePolicyVersionRequest.Builder setAsDefault(Boolean setAsDefault)
* false: The policy version is not set as the default version. * true: The policy version is set as the default version. Default value: false.
public CreatePolicyVersionRequest build()
Copyright © 2023. All rights reserved.