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
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.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.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.The identifier of a rule set you want to update.ruleSetName(String ruleSetName) A user-friendly name for the rule set resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mailmanager.model.MailManagerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
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 torules(List<Rule>).- 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:
-
overrideConfiguration
UpdateRuleSetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateRuleSetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-