public static final class UpdateControlPolicyRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateControlPolicyRequest |
build() |
UpdateControlPolicyRequest.Builder |
newDescription(String newDescription)
The new description of the access control policy.
|
UpdateControlPolicyRequest.Builder |
newPolicyDocument(String newPolicyDocument)
The new document of the access control policy.
|
UpdateControlPolicyRequest.Builder |
newPolicyName(String newPolicyName)
The new name of the access control policy.
|
UpdateControlPolicyRequest.Builder |
policyId(String policyId)
The ID of the access control policy.
|
public UpdateControlPolicyRequest.Builder newDescription(String newDescription)
The description must be 1 to 1,024 characters in length. The description can contain letters, digits, underscores (\_), and hyphens (-) and must start with a letter.
public UpdateControlPolicyRequest.Builder newPolicyDocument(String newPolicyDocument)
The document can be a maximum of 4,096 characters in length. For more information about the languages of access control policies, see [Languages of access control policies](~~179096~~). For more information about the examples of access control policies, see [Examples of custom access control policies](~~181474~~).
public UpdateControlPolicyRequest.Builder newPolicyName(String newPolicyName)
The name must be 1 to 128 characters in length. The name can contain letters, digits, and hyphens (-) and must start with a letter.
public UpdateControlPolicyRequest.Builder policyId(String policyId)
public UpdateControlPolicyRequest build()
Copyright © 2023. All rights reserved.