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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeSafetyRuleResponse.BuilderassertionRule(Consumer<AssertionRule.Builder> assertionRule)The assertion rule in the response.DescribeSafetyRuleResponse.BuilderassertionRule(AssertionRule assertionRule)The assertion rule in the response.default DescribeSafetyRuleResponse.BuildergatingRule(Consumer<GatingRule.Builder> gatingRule)The gating rule in the response.DescribeSafetyRuleResponse.BuildergatingRule(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 Detail
-
assertionRule
DescribeSafetyRuleResponse.Builder assertionRule(AssertionRule 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.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:
assertionRule(AssertionRule)
-
gatingRule
DescribeSafetyRuleResponse.Builder gatingRule(GatingRule 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
default DescribeSafetyRuleResponse.Builder gatingRule(Consumer<GatingRule.Builder> gatingRule)
The gating rule in the response.
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:
gatingRule(GatingRule)
-
-