Interface DescribeSafetyRuleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeSafetyRuleResponse.Builder,
,DescribeSafetyRuleResponse> Route53RecoveryControlConfigResponse.Builder
,SdkBuilder<DescribeSafetyRuleResponse.Builder,
,DescribeSafetyRuleResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeSafetyRuleResponse
public static interface DescribeSafetyRuleResponse.Builder
extends Route53RecoveryControlConfigResponse.Builder, SdkPojo, CopyableBuilder<DescribeSafetyRuleResponse.Builder,DescribeSafetyRuleResponse>
-
Method Summary
Modifier and TypeMethodDescriptionassertionRule
(Consumer<AssertionRule.Builder> assertionRule) The assertion rule in the response.assertionRule
(AssertionRule assertionRule) The assertion rule in the response.gatingRule
(Consumer<GatingRule.Builder> gatingRule) The gating rule in the response.gatingRule
(GatingRule gatingRule) The gating rule in the response.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
assertionRule
The assertion rule in the response.
- Parameters:
assertionRule
- The assertion rule in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assertionRule
default DescribeSafetyRuleResponse.Builder assertionRule(Consumer<AssertionRule.Builder> assertionRule) The assertion rule in the response.
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 in the response.
- Parameters:
gatingRule
- The gating rule in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatingRule
The gating rule in the response.
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:
-