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 will be 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 that the receipt rule will be added to.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
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 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.Builder
rule(ReceiptRule)
CreateReceiptRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateReceiptRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2023. All rights reserved.