Interface UpdateRuleSetRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<UpdateRuleSetRequest.Builder,,- UpdateRuleSetRequest> - MailManagerRequest.Builder,- SdkBuilder<UpdateRuleSetRequest.Builder,,- UpdateRuleSetRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- UpdateRuleSetRequest
@Mutable
@NotThreadSafe
public static interface UpdateRuleSetRequest.Builder
extends MailManagerRequest.Builder, SdkPojo, CopyableBuilder<UpdateRuleSetRequest.Builder,UpdateRuleSetRequest> 
- 
Method SummaryModifier 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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.mailmanager.model.MailManagerRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
ruleSetIdThe 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.
 
- 
ruleSetNameA 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.
 
- 
rulesA 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.
 
- 
rulesA 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.
 
- 
rulesA 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 on- Rule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationUpdateRuleSetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationUpdateRuleSetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-