Interface UpdateReceiptRuleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateReceiptRuleRequest.Builder,
,UpdateReceiptRuleRequest> SdkBuilder<UpdateReceiptRuleRequest.Builder,
,UpdateReceiptRuleRequest> SdkPojo
,SdkRequest.Builder
,SesRequest.Builder
- Enclosing class:
UpdateReceiptRuleRequest
public static interface UpdateReceiptRuleRequest.Builder
extends SesRequest.Builder, SdkPojo, CopyableBuilder<UpdateReceiptRuleRequest.Builder,UpdateReceiptRuleRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateReceiptRuleRequest.Builder
rule
(Consumer<ReceiptRule.Builder> rule) A data structure that contains the updated receipt rule information.rule
(ReceiptRule rule) A data structure that contains the updated receipt rule information.ruleSetName
(String ruleSetName) The name of the receipt rule set that the receipt rule belongs to.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.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.ses.model.SesRequest.Builder
build
-
Method Details
-
ruleSetName
The name of the receipt rule set that the receipt rule belongs to.
- Parameters:
ruleSetName
- The name of the receipt rule set that the receipt rule belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rule
A data structure that contains the updated receipt rule information.
- Parameters:
rule
- A data structure that contains the updated receipt rule information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rule
A data structure that contains the updated receipt rule information.
This is a convenience method that creates an instance of theReceiptRule.Builder
avoiding the need to create one manually viaReceiptRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torule(ReceiptRule)
.- Parameters:
rule
- a consumer that will call methods onReceiptRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateReceiptRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateReceiptRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-