public static interface UpdateReceiptRuleRequest.Builder extends SesRequest.Builder, CopyableBuilder<UpdateReceiptRuleRequest.Builder,UpdateReceiptRuleRequest>
Modifier and Type | Method and Description |
---|---|
UpdateReceiptRuleRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateReceiptRuleRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
default UpdateReceiptRuleRequest.Builder |
rule(Consumer<ReceiptRule.Builder> rule)
A data structure that contains the updated receipt rule information.
|
UpdateReceiptRuleRequest.Builder |
rule(ReceiptRule rule)
A data structure that contains the updated receipt rule information.
|
UpdateReceiptRuleRequest.Builder |
ruleSetName(String ruleSetName)
The name of the receipt rule set that the receipt rule belongs to.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateReceiptRuleRequest.Builder ruleSetName(String ruleSetName)
The name of the receipt rule set that the receipt rule belongs to.
ruleSetName
- The name of the receipt rule set that the receipt rule belongs to.UpdateReceiptRuleRequest.Builder rule(ReceiptRule rule)
A data structure that contains the updated receipt rule information.
rule
- A data structure that contains the updated receipt rule information.default UpdateReceiptRuleRequest.Builder rule(Consumer<ReceiptRule.Builder> rule)
A data structure that contains the updated receipt rule information.
This is a convenience that creates an instance of theReceiptRule.Builder
avoiding the need to create
one manually via ReceiptRule.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to rule(ReceiptRule)
.rule
- a consumer that will call methods on ReceiptRule.Builder
rule(ReceiptRule)
UpdateReceiptRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateReceiptRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.