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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateReceiptRuleRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.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.
|
buildrequestOverrideConfigcopyapply, buildCreateReceiptRuleRequest.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.Builderrule(ReceiptRule)CreateReceiptRuleRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CreateReceiptRuleRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.