public class CloneReceiptRuleSetRequest extends AmazonWebServiceRequest implements java.io.Serializable
Creates a receipt rule set by cloning an existing one. All receipt rules and configurations are copied to the new receipt rule set and are completely independent of the source rule set.
For information about setting up rule sets, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
Constructor and Description |
---|
CloneReceiptRuleSetRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getOriginalRuleSetName()
The name of the rule set to clone.
|
java.lang.String |
getRuleSetName()
The name of the rule set to create.
|
int |
hashCode() |
void |
setOriginalRuleSetName(java.lang.String originalRuleSetName)
The name of the rule set to clone.
|
void |
setRuleSetName(java.lang.String ruleSetName)
The name of the rule set to create.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CloneReceiptRuleSetRequest |
withOriginalRuleSetName(java.lang.String originalRuleSetName)
The name of the rule set to clone.
|
CloneReceiptRuleSetRequest |
withRuleSetName(java.lang.String ruleSetName)
The name of the rule set to create.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getRuleSetName()
The name of the rule set to create. The name must:
This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
The name of the rule set to create. The name must:
This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
public void setRuleSetName(java.lang.String ruleSetName)
The name of the rule set to create. The name must:
This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
ruleSetName
- The name of the rule set to create. The name must:
This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
public CloneReceiptRuleSetRequest withRuleSetName(java.lang.String ruleSetName)
The name of the rule set to create. The name must:
This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
Returns a reference to this object so that method calls can be chained together.
ruleSetName
- The name of the rule set to create. The name must:
This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
public java.lang.String getOriginalRuleSetName()
The name of the rule set to clone.
The name of the rule set to clone.
public void setOriginalRuleSetName(java.lang.String originalRuleSetName)
The name of the rule set to clone.
originalRuleSetName
- The name of the rule set to clone.
public CloneReceiptRuleSetRequest withOriginalRuleSetName(java.lang.String originalRuleSetName)
The name of the rule set to clone.
Returns a reference to this object so that method calls can be chained together.
originalRuleSetName
- The name of the rule set to clone.
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.