public class CreateReceiptRuleRequest extends AmazonWebServiceRequest implements java.io.Serializable
Creates a receipt rule.
For information about setting up receipt rules, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
Constructor and Description |
---|
CreateReceiptRuleRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.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.
|
java.lang.String |
getRuleSetName()
The name of the rule set that the receipt rule will be added to.
|
int |
hashCode() |
void |
setAfter(java.lang.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(java.lang.String ruleSetName)
The name of the rule set that the receipt rule will be added to.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateReceiptRuleRequest |
withAfter(java.lang.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(java.lang.String ruleSetName)
The name of the rule set that the receipt rule will be added to.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getRuleSetName()
The name of the rule set that the receipt rule will be added to.
The name of the rule set that the receipt rule will be added to.
public void setRuleSetName(java.lang.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.
public CreateReceiptRuleRequest withRuleSetName(java.lang.String ruleSetName)
The name of the rule set that the receipt rule will be added to.
Returns a reference to this object so that method calls can be chained together.
ruleSetName
- The name of the rule set that the receipt rule will be added to.
public java.lang.String getAfter()
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.
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 void setAfter(java.lang.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.
public CreateReceiptRuleRequest withAfter(java.lang.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.
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()
A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.
A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.
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 CreateReceiptRuleRequest withRule(ReceiptRule rule)
A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.