Interface CreateReceiptRuleRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<CreateReceiptRuleRequest.Builder,,- CreateReceiptRuleRequest> - SdkBuilder<CreateReceiptRuleRequest.Builder,,- CreateReceiptRuleRequest> - SdkPojo,- SdkRequest.Builder,- SesRequest.Builder
- Enclosing class:
- CreateReceiptRuleRequest
@Mutable
@NotThreadSafe
public static interface CreateReceiptRuleRequest.Builder
extends SesRequest.Builder, SdkPojo, CopyableBuilder<CreateReceiptRuleRequest.Builder,CreateReceiptRuleRequest> 
- 
Method SummaryModifier and TypeMethodDescriptionThe name of an existing rule after which the new rule is placed.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateReceiptRuleRequest.Builderrule(Consumer<ReceiptRule.Builder> rule) A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.rule(ReceiptRule rule) A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.ruleSetName(String ruleSetName) The name of the rule set where the receipt rule is added.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.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.ses.model.SesRequest.Builderbuild
- 
Method Details- 
ruleSetNameThe name of the rule set where the receipt rule is added. - Parameters:
- ruleSetName- The name of the rule set where the receipt rule is added.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
afterThe name of an existing rule after which the new rule is placed. If this parameter is null, the new rule is inserted at the beginning of the rule list. - Parameters:
- after- The name of an existing rule after which the new rule is placed. If this parameter is null, the new rule is inserted at the beginning of the rule list.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
ruleA data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy. - Parameters:
- rule- A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
ruleA data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy. This is a convenience method that creates an instance of theReceiptRule.Builderavoiding the need to create one manually viaReceiptRule.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torule(ReceiptRule).- Parameters:
- rule- a consumer that will call methods on- ReceiptRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationCreateReceiptRuleRequest.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.
 
- 
overrideConfigurationCreateReceiptRuleRequest.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.
 
 
-