Class CreateReceiptRuleRequest
java.lang.Object
software.amazon.awssdk.core.SdkRequest
software.amazon.awssdk.awscore.AwsRequest
software.amazon.awssdk.services.ses.model.SesRequest
software.amazon.awssdk.services.ses.model.CreateReceiptRuleRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateReceiptRuleRequest.Builder,CreateReceiptRuleRequest>
@Generated("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.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringafter()The name of an existing rule after which the new rule is placed.builder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final ReceiptRulerule()A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.final StringThe name of the rule set where the receipt rule is added.static Class<? extends CreateReceiptRuleRequest.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
ruleSetName
The name of the rule set where the receipt rule is added.
- Returns:
- The name of the rule set where the receipt rule is added.
-
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.
- Returns:
- 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.
-
rule
A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.
- Returns:
- A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateReceiptRuleRequest.Builder,CreateReceiptRuleRequest> - Specified by:
toBuilderin classSesRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-