@Generated(value="software.amazon.awssdk:codegen") public final class CreateReceiptRuleRequest extends SesRequest implements ToCopyableBuilder<CreateReceiptRuleRequest.Builder,CreateReceiptRuleRequest>
Represents a request to create a receipt rule. You use receipt rules to receive email with Amazon SES. For more information, see the Amazon SES Developer Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateReceiptRuleRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
after()
The name of an existing rule after which the new rule will be placed.
|
static CreateReceiptRuleRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ReceiptRule |
rule()
A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan
status, and TLS policy.
|
String |
ruleSetName()
The name of the rule set that the receipt rule will be added to.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateReceiptRuleRequest.Builder> |
serializableBuilderClass() |
CreateReceiptRuleRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String ruleSetName()
The name of the rule set that the receipt rule will be added to.
public final 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.
public final ReceiptRule rule()
A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.
public CreateReceiptRuleRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateReceiptRuleRequest.Builder,CreateReceiptRuleRequest>toBuilder in class SesRequestpublic static CreateReceiptRuleRequest.Builder builder()
public static Class<? extends CreateReceiptRuleRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.