public class CreateReceiptRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CreateReceiptRule operation
.
Creates a receipt rule.
For information about setting up receipt rules, see the Amazon SES Developer Guide .
This action is throttled at one request per second.
NOOP
Constructor and Description |
---|
CreateReceiptRuleRequest() |
Modifier and Type | Method and Description |
---|---|
CreateReceiptRuleRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAfter()
The name of an existing rule after which the new rule will be 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 to which to add the rule.
|
int |
hashCode() |
void |
setAfter(String after)
The name of an existing rule after which the new rule will be 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 to which to add the rule.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateReceiptRuleRequest |
withAfter(String after)
The name of an existing rule after which the new rule will be 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 to which to add the rule.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getRuleSetName()
public void setRuleSetName(String ruleSetName)
ruleSetName
- The name of the rule set to which to add the rule.public CreateReceiptRuleRequest withRuleSetName(String ruleSetName)
Returns a reference to this object so that method calls can be chained together.
ruleSetName
- The name of the rule set to which to add the rule.public String getAfter()
public void setAfter(String after)
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 CreateReceiptRuleRequest withAfter(String after)
Returns a reference to this object so that method calls can be chained together.
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 ReceiptRule getRule()
public void setRule(ReceiptRule rule)
rule
- 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)
Returns a reference to this object so that method calls can be chained together.
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()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.