public static interface UpdatePolicyRequest.Builder extends OrganizationsRequest.Builder, SdkPojo, 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) |
UpdatePolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
UpdatePolicyRequest.Builder |
policyId(String policyId)
The unique identifier (ID) of the policy that you want to update.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdatePolicyRequest.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 lowercase or uppercase letters, digits, or the underscore character (_).
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 lowercase or uppercase letters, digits, or the underscore character (_).
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 SCP syntax in the 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 SCP
syntax in the Organizations User Guide.UpdatePolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdatePolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.