public static interface CreateReceiptRuleRequest.Builder extends SesRequest.Builder, SdkPojo, 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 is placed.
|
CreateReceiptRuleRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateReceiptRuleRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
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 where the receipt rule is added.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateReceiptRuleRequest.Builder ruleSetName(String ruleSetName)
The name of the rule set where the receipt rule is added.
ruleSetName - The name of the rule set where the receipt rule is added.CreateReceiptRuleRequest.Builder after(String 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.
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.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 method 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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateReceiptRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.