Interface UpdateSafetyRuleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateSafetyRuleResponse.Builder,,UpdateSafetyRuleResponse> Route53RecoveryControlConfigResponse.Builder,SdkBuilder<UpdateSafetyRuleResponse.Builder,,UpdateSafetyRuleResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateSafetyRuleResponse
public static interface UpdateSafetyRuleResponse.Builder
extends Route53RecoveryControlConfigResponse.Builder, SdkPojo, CopyableBuilder<UpdateSafetyRuleResponse.Builder,UpdateSafetyRuleResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateSafetyRuleResponse.BuilderassertionRule(Consumer<AssertionRule.Builder> assertionRule) The assertion rule updated.assertionRule(AssertionRule assertionRule) The assertion rule updated.default UpdateSafetyRuleResponse.BuildergatingRule(Consumer<GatingRule.Builder> gatingRule) The gating rule updated.gatingRule(GatingRule gatingRule) The gating rule updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.route53recoverycontrolconfig.model.Route53RecoveryControlConfigResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
assertionRule
The assertion rule updated.
- Parameters:
assertionRule- The assertion rule updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assertionRule
default UpdateSafetyRuleResponse.Builder assertionRule(Consumer<AssertionRule.Builder> assertionRule) The assertion rule updated.
This is a convenience method that creates an instance of theAssertionRule.Builderavoiding the need to create one manually viaAssertionRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassertionRule(AssertionRule).- Parameters:
assertionRule- a consumer that will call methods onAssertionRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gatingRule
The gating rule updated.
- Parameters:
gatingRule- The gating rule updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatingRule
The gating rule updated.
This is a convenience method that creates an instance of theGatingRule.Builderavoiding the need to create one manually viaGatingRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togatingRule(GatingRule).- Parameters:
gatingRule- a consumer that will call methods onGatingRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-