Interface UpdatePolicyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdatePolicyRequest.Builder,UpdatePolicyRequest>,OrganizationsRequest.Builder,SdkBuilder<UpdatePolicyRequest.Builder,UpdatePolicyRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdatePolicyRequest
public static interface UpdatePolicyRequest.Builder extends OrganizationsRequest.Builder, SdkPojo, CopyableBuilder<UpdatePolicyRequest.Builder,UpdatePolicyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdatePolicyRequest.Buildercontent(String content)If provided, the new content for the policy.UpdatePolicyRequest.Builderdescription(String description)If provided, the new description for the policy.UpdatePolicyRequest.Buildername(String name)If provided, the new name for the policy.UpdatePolicyRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdatePolicyRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdatePolicyRequest.BuilderpolicyId(String policyId)The unique identifier (ID) of the policy that you want to update.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.organizations.model.OrganizationsRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
policyId
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 lowercase or uppercase letters, digits, or the underscore character (_).
- Parameters:
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 (_).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdatePolicyRequest.Builder description(String description)
If provided, the new description for the policy.
- Parameters:
description- If provided, the new description for the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdatePolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdatePolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-