Interface CreateSafetyRuleRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateSafetyRuleRequest.Builder,CreateSafetyRuleRequest>,Route53RecoveryControlConfigRequest.Builder,SdkBuilder<CreateSafetyRuleRequest.Builder,CreateSafetyRuleRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateSafetyRuleRequest
public static interface CreateSafetyRuleRequest.Builder extends Route53RecoveryControlConfigRequest.Builder, SdkPojo, CopyableBuilder<CreateSafetyRuleRequest.Builder,CreateSafetyRuleRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.route53recoverycontrolconfig.model.Route53RecoveryControlConfigRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
assertionRule
CreateSafetyRuleRequest.Builder assertionRule(NewAssertionRule assertionRule)
The assertion rule requested.
- Parameters:
assertionRule- The assertion rule requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assertionRule
default CreateSafetyRuleRequest.Builder assertionRule(Consumer<NewAssertionRule.Builder> assertionRule)
The assertion rule requested.
This is a convenience method that creates an instance of theNewAssertionRule.Builderavoiding the need to create one manually viaNewAssertionRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassertionRule(NewAssertionRule).- Parameters:
assertionRule- a consumer that will call methods onNewAssertionRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
assertionRule(NewAssertionRule)
-
clientToken
CreateSafetyRuleRequest.Builder clientToken(String clientToken)
A unique, case-sensitive string of up to 64 ASCII characters. To make an idempotent API request with an action, specify a client token in the request.
- Parameters:
clientToken- A unique, case-sensitive string of up to 64 ASCII characters. To make an idempotent API request with an action, specify a client token in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatingRule
CreateSafetyRuleRequest.Builder gatingRule(NewGatingRule gatingRule)
The gating rule requested.
- Parameters:
gatingRule- The gating rule requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatingRule
default CreateSafetyRuleRequest.Builder gatingRule(Consumer<NewGatingRule.Builder> gatingRule)
The gating rule requested.
This is a convenience method that creates an instance of theNewGatingRule.Builderavoiding the need to create one manually viaNewGatingRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togatingRule(NewGatingRule).- Parameters:
gatingRule- a consumer that will call methods onNewGatingRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
gatingRule(NewGatingRule)
-
tags
CreateSafetyRuleRequest.Builder tags(Map<String,String> tags)
The tags associated with the safety rule.
- Parameters:
tags- The tags associated with the safety rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateSafetyRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateSafetyRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-