Interface PutClusterPolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutClusterPolicyRequest.Builder,,PutClusterPolicyRequest> DsqlRequest.Builder,SdkBuilder<PutClusterPolicyRequest.Builder,,PutClusterPolicyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutClusterPolicyRequest
@Mutable
@NotThreadSafe
public static interface PutClusterPolicyRequest.Builder
extends DsqlRequest.Builder, SdkPojo, CopyableBuilder<PutClusterPolicyRequest.Builder,PutClusterPolicyRequest>
-
Method Summary
Modifier and TypeMethodDescriptionbypassPolicyLockoutSafetyCheck(Boolean bypassPolicyLockoutSafetyCheck) A flag that allows you to bypass the policy lockout safety check.clientToken(String clientToken) Sets the value of the ClientToken property for this object.expectedPolicyVersion(String expectedPolicyVersion) The expected version of the current policy.identifier(String identifier) Sets the value of the Identifier property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The resource-based policy document to attach to the cluster.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.dsql.model.DsqlRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
identifier
Sets the value of the Identifier property for this object.- Parameters:
identifier- The new value for the Identifier property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
The resource-based policy document to attach to the cluster. This should be a valid JSON policy document that defines permissions and conditions.
- Parameters:
policy- The resource-based policy document to attach to the cluster. This should be a valid JSON policy document that defines permissions and conditions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bypassPolicyLockoutSafetyCheck
PutClusterPolicyRequest.Builder bypassPolicyLockoutSafetyCheck(Boolean bypassPolicyLockoutSafetyCheck) A flag that allows you to bypass the policy lockout safety check. When set to true, this parameter allows you to apply a policy that might lock you out of the cluster. Use with caution.
- Parameters:
bypassPolicyLockoutSafetyCheck- A flag that allows you to bypass the policy lockout safety check. When set to true, this parameter allows you to apply a policy that might lock you out of the cluster. Use with caution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedPolicyVersion
The expected version of the current policy. This parameter ensures that you're updating the correct version of the policy and helps prevent concurrent modification conflicts.
- Parameters:
expectedPolicyVersion- The expected version of the current policy. This parameter ensures that you're updating the correct version of the policy and helps prevent concurrent modification conflicts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Sets the value of the ClientToken property for this object.- Parameters:
clientToken- The new value for the ClientToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutClusterPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutClusterPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-