Interface UpdateRuleSetRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateRuleSetRequest.Builder,UpdateRuleSetRequest>,MailManagerRequest.Builder,SdkBuilder<UpdateRuleSetRequest.Builder,UpdateRuleSetRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateRuleSetRequest
public static interface UpdateRuleSetRequest.Builder extends MailManagerRequest.Builder, SdkPojo, CopyableBuilder<UpdateRuleSetRequest.Builder,UpdateRuleSetRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateRuleSetRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateRuleSetRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateRuleSetRequest.Builderrules(Collection<Rule> rules)A new set of rules to replace the current rules of the rule set—these rules will override all the rules of the rule set.UpdateRuleSetRequest.Builderrules(Consumer<Rule.Builder>... rules)A new set of rules to replace the current rules of the rule set—these rules will override all the rules of the rule set.UpdateRuleSetRequest.Builderrules(Rule... rules)A new set of rules to replace the current rules of the rule set—these rules will override all the rules of the rule set.UpdateRuleSetRequest.BuilderruleSetId(String ruleSetId)The identifier of a rule set you want to update.UpdateRuleSetRequest.BuilderruleSetName(String ruleSetName)A user-friendly name for the rule set resource.-
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.mailmanager.model.MailManagerRequest.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
-
ruleSetId
UpdateRuleSetRequest.Builder ruleSetId(String ruleSetId)
The identifier of a rule set you want to update.
- Parameters:
ruleSetId- The identifier of a rule set you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleSetName
UpdateRuleSetRequest.Builder ruleSetName(String ruleSetName)
A user-friendly name for the rule set resource.
- Parameters:
ruleSetName- A user-friendly name for the rule set resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
UpdateRuleSetRequest.Builder rules(Collection<Rule> rules)
A new set of rules to replace the current rules of the rule set—these rules will override all the rules of the rule set.
- Parameters:
rules- A new set of rules to replace the current rules of the rule set—these rules will override all the rules of the rule set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
UpdateRuleSetRequest.Builder rules(Rule... rules)
A new set of rules to replace the current rules of the rule set—these rules will override all the rules of the rule set.
- Parameters:
rules- A new set of rules to replace the current rules of the rule set—these rules will override all the rules of the rule set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
UpdateRuleSetRequest.Builder rules(Consumer<Rule.Builder>... rules)
A new set of rules to replace the current rules of the rule set—these rules will override all the rules of the rule set.
This is a convenience method that creates an instance of theRule.Builderavoiding the need to create one manually viaRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#rules(List.) - Parameters:
rules- a consumer that will call methods onRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#rules(java.util.Collection)
-
overrideConfiguration
UpdateRuleSetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateRuleSetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-