@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 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 that the receipt rule will be added to.
|
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 that the receipt rule will be added to.
|
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 that the receipt rule will be added to.
|
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 that the receipt rule will be added to.
ruleSetName
- The name of the rule set that the receipt rule will be added to.public String getRuleSetName()
The name of the rule set that the receipt rule will be added to.
public CreateReceiptRuleRequest withRuleSetName(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 void setAfter(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 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.
public CreateReceiptRuleRequest withAfter(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 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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.