public static interface CreateReceiptRuleRequest.Builder extends SesRequest.Builder, CopyableBuilder<CreateReceiptRuleRequest.Builder,CreateReceiptRuleRequest>
Modifier and Type | Method and Description |
---|---|
CreateReceiptRuleRequest.Builder |
after(String after)
The name of an existing rule after which the new rule will be placed.
|
CreateReceiptRuleRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateReceiptRuleRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
default CreateReceiptRuleRequest.Builder |
rule(Consumer<ReceiptRule.Builder> rule)
A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan
status, and TLS policy.
|
CreateReceiptRuleRequest.Builder |
rule(ReceiptRule rule)
A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan
status, and TLS policy.
|
CreateReceiptRuleRequest.Builder |
ruleSetName(String ruleSetName)
The name of the rule set that the receipt rule will be added to.
|
build
overrideConfiguration
copy
applyMutation, build
CreateReceiptRuleRequest.Builder ruleSetName(String ruleSetName)
The name of the rule set that the receipt rule will be added to.
ruleSetName
- The name of the rule set that the receipt rule will be added to.CreateReceiptRuleRequest.Builder after(String after)
The name of an existing rule after which the new rule will be placed. If this parameter is null, the new rule will be inserted at the beginning of the rule list.
after
- The name of an existing rule after which the new rule will be placed. If this parameter is null, the
new rule will be inserted at the beginning of the rule list.CreateReceiptRuleRequest.Builder rule(ReceiptRule rule)
A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.
rule
- A data structure that contains the specified rule's name, actions, recipients, domains, enabled
status, scan status, and TLS policy.default CreateReceiptRuleRequest.Builder rule(Consumer<ReceiptRule.Builder> rule)
A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.
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)
CreateReceiptRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateReceiptRuleRequest.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.