Class CloneReceiptRuleSetRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.simpleemail.model.CloneReceiptRuleSetRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class CloneReceiptRuleSetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CloneReceiptRuleSetRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloneReceiptRuleSetRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetOriginalRuleSetName()The name of the rule set to clone.StringgetRuleSetName()The name of the rule set to create.inthashCode()voidsetOriginalRuleSetName(String originalRuleSetName)The name of the rule set to clone.voidsetRuleSetName(String ruleSetName)The name of the rule set to create.StringtoString()Returns a string representation of this object; useful for testing and debugging.CloneReceiptRuleSetRequestwithOriginalRuleSetName(String originalRuleSetName)The name of the rule set to clone.CloneReceiptRuleSetRequestwithRuleSetName(String ruleSetName)The name of the rule set to create.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setRuleSetName
public void setRuleSetName(String ruleSetName)
The name of the rule set to create. The name must:
- Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
- Start and end with a letter or number.
- Contain less than 64 characters.
- Parameters:
ruleSetName- The name of the rule set to create. The name must:- Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
- Start and end with a letter or number.
- Contain less than 64 characters.
-
getRuleSetName
public String getRuleSetName()
The name of the rule set to create. The name must:
- Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
- Start and end with a letter or number.
- Contain less than 64 characters.
- Returns:
- The name of the rule set to create. The name must:
- Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
- Start and end with a letter or number.
- Contain less than 64 characters.
-
withRuleSetName
public CloneReceiptRuleSetRequest withRuleSetName(String ruleSetName)
The name of the rule set to create. The name must:
- Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
- Start and end with a letter or number.
- Contain less than 64 characters.
- Parameters:
ruleSetName- The name of the rule set to create. The name must:- Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
- Start and end with a letter or number.
- Contain less than 64 characters.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOriginalRuleSetName
public void setOriginalRuleSetName(String originalRuleSetName)
The name of the rule set to clone.
- Parameters:
originalRuleSetName- The name of the rule set to clone.
-
getOriginalRuleSetName
public String getOriginalRuleSetName()
The name of the rule set to clone.
- Returns:
- The name of the rule set to clone.
-
withOriginalRuleSetName
public CloneReceiptRuleSetRequest withOriginalRuleSetName(String originalRuleSetName)
The name of the rule set to clone.
- Parameters:
originalRuleSetName- The name of the rule set to clone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CloneReceiptRuleSetRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-