Interface UpdateSafetyRuleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateSafetyRuleResponse.Builder,
,UpdateSafetyRuleResponse> Route53RecoveryControlConfigResponse.Builder
,SdkBuilder<UpdateSafetyRuleResponse.Builder,
,UpdateSafetyRuleResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateSafetyRuleResponse
@Mutable
@NotThreadSafe
public static interface UpdateSafetyRuleResponse.Builder
extends Route53RecoveryControlConfigResponse.Builder, SdkPojo, CopyableBuilder<UpdateSafetyRuleResponse.Builder,UpdateSafetyRuleResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateSafetyRuleResponse.Builder
assertionRule
(Consumer<AssertionRule.Builder> assertionRule) The assertion rule updated.assertionRule
(AssertionRule assertionRule) The assertion rule updated.default UpdateSafetyRuleResponse.Builder
gatingRule
(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
copy
Methods inherited from interface software.amazon.awssdk.services.route53recoverycontrolconfig.model.Route53RecoveryControlConfigResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods 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.Builder
avoiding the need to create one manually viaAssertionRule.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaGatingRule.builder()
.When the
Consumer
completes,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:
-