@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateReceiptRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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.
NOOP
Constructor and Description |
---|
CreateReceiptRuleRequest() |
Modifier and Type | Method and Description |
---|---|
CreateReceiptRuleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAfter()
The name of an existing rule after which the new rule is placed.
|
ReceiptRule |
getRule()
A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan
status, and TLS policy.
|
String |
getRuleSetName()
The name of the rule set where the receipt rule is added.
|
int |
hashCode() |
void |
setAfter(String after)
The name of an existing rule after which the new rule is placed.
|
void |
setRule(ReceiptRule rule)
A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan
status, and TLS policy.
|
void |
setRuleSetName(String ruleSetName)
The name of the rule set where the receipt rule is added.
|
String |
toString()
Returns a string representation of this object.
|
CreateReceiptRuleRequest |
withAfter(String after)
The name of an existing rule after which the new rule is placed.
|
CreateReceiptRuleRequest |
withRule(ReceiptRule rule)
A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan
status, and TLS policy.
|
CreateReceiptRuleRequest |
withRuleSetName(String ruleSetName)
The name of the rule set where the receipt rule is added.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRuleSetName(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.public String getRuleSetName()
The name of the rule set where the receipt rule is added.
public CreateReceiptRuleRequest withRuleSetName(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.public void setAfter(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.public String getAfter()
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.
public CreateReceiptRuleRequest withAfter(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.public void setRule(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.public ReceiptRule getRule()
A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.
public CreateReceiptRuleRequest withRule(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.public String toString()
toString
in class Object
Object.toString()
public CreateReceiptRuleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()