CopyableBuilder<UpdatePolicyRequest.Builder,UpdatePolicyRequest>
, SdkBuilder<UpdatePolicyRequest.Builder,UpdatePolicyRequest>
public static interface UpdatePolicyRequest.Builder extends CopyableBuilder<UpdatePolicyRequest.Builder,UpdatePolicyRequest>
Modifier and Type | Method | Description |
---|---|---|
UpdatePolicyRequest.Builder |
content(String content) |
If provided, the new content for the policy.
|
UpdatePolicyRequest.Builder |
description(String description) |
If provided, the new description for the policy.
|
UpdatePolicyRequest.Builder |
name(String name) |
If provided, the new name for the policy.
|
UpdatePolicyRequest.Builder |
policyId(String policyId) |
The unique identifier (ID) of the policy that you want to update.
|
copy
apply, build
UpdatePolicyRequest.Builder policyId(String policyId)
The unique identifier (ID) of the policy that you want to update.
The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits.
policyId
- The unique identifier (ID) of the policy that you want to update.
The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits.
UpdatePolicyRequest.Builder name(String name)
If provided, the new name for the policy.
The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.
name
- If provided, the new name for the policy.
The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.
UpdatePolicyRequest.Builder description(String description)
If provided, the new description for the policy.
description
- If provided, the new description for the policy.UpdatePolicyRequest.Builder content(String content)
If provided, the new content for the policy. The text must be correctly formatted JSON that complies with the syntax for the policy's type. For more information, see Service Control Policy Syntax in the AWS Organizations User Guide.
content
- If provided, the new content for the policy. The text must be correctly formatted JSON that complies
with the syntax for the policy's type. For more information, see Service Control Policy Syntax in the AWS Organizations User Guide.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.