Interface UpdateSafetyRuleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateSafetyRuleRequest.Builder,,UpdateSafetyRuleRequest> Route53RecoveryControlConfigRequest.Builder,SdkBuilder<UpdateSafetyRuleRequest.Builder,,UpdateSafetyRuleRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateSafetyRuleRequest
public static interface UpdateSafetyRuleRequest.Builder
extends Route53RecoveryControlConfigRequest.Builder, SdkPojo, CopyableBuilder<UpdateSafetyRuleRequest.Builder,UpdateSafetyRuleRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateSafetyRuleRequest.BuilderassertionRuleUpdate(Consumer<AssertionRuleUpdate.Builder> assertionRuleUpdate) The assertion rule to update.assertionRuleUpdate(AssertionRuleUpdate assertionRuleUpdate) The assertion rule to update.default UpdateSafetyRuleRequest.BuildergatingRuleUpdate(Consumer<GatingRuleUpdate.Builder> gatingRuleUpdate) The gating rule to update.gatingRuleUpdate(GatingRuleUpdate gatingRuleUpdate) The gating rule to update.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.route53recoverycontrolconfig.model.Route53RecoveryControlConfigRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
assertionRuleUpdate
The assertion rule to update.
- Parameters:
assertionRuleUpdate- The assertion rule to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assertionRuleUpdate
default UpdateSafetyRuleRequest.Builder assertionRuleUpdate(Consumer<AssertionRuleUpdate.Builder> assertionRuleUpdate) The assertion rule to update.
This is a convenience method that creates an instance of theAssertionRuleUpdate.Builderavoiding the need to create one manually viaAssertionRuleUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassertionRuleUpdate(AssertionRuleUpdate).- Parameters:
assertionRuleUpdate- a consumer that will call methods onAssertionRuleUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gatingRuleUpdate
The gating rule to update.
- Parameters:
gatingRuleUpdate- The gating rule to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatingRuleUpdate
default UpdateSafetyRuleRequest.Builder gatingRuleUpdate(Consumer<GatingRuleUpdate.Builder> gatingRuleUpdate) The gating rule to update.
This is a convenience method that creates an instance of theGatingRuleUpdate.Builderavoiding the need to create one manually viaGatingRuleUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togatingRuleUpdate(GatingRuleUpdate).- Parameters:
gatingRuleUpdate- a consumer that will call methods onGatingRuleUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateSafetyRuleRequest.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
UpdateSafetyRuleRequest.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.
-