public static interface UpdatePolicyRequest.Builder extends OrganizationsRequest.Builder, CopyableBuilder<UpdatePolicyRequest.Builder,UpdatePolicyRequest>
Modifier and Type | Method and 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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdatePolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdatePolicyRequest.Builder |
policyId(String policyId)
The unique identifier (ID) of the policy that you want to update.
|
build
overrideConfiguration
copy
applyMutation, 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.UpdatePolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdatePolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.