@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRuleSetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateRuleSetRequest() |
Modifier and Type | Method and Description |
---|---|
CreateRuleSetRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique token that Amazon SES uses to recognize subsequent retries of the same request.
|
List<Rule> |
getRules()
Conditional rules that are evaluated for determining actions on email.
|
String |
getRuleSetName()
A user-friendly name for the rule set.
|
List<Tag> |
getTags()
The tags used to organize, track, or control access for the resource.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique token that Amazon SES uses to recognize subsequent retries of the same request.
|
void |
setRules(Collection<Rule> rules)
Conditional rules that are evaluated for determining actions on email.
|
void |
setRuleSetName(String ruleSetName)
A user-friendly name for the rule set.
|
void |
setTags(Collection<Tag> tags)
The tags used to organize, track, or control access for the resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateRuleSetRequest |
withClientToken(String clientToken)
A unique token that Amazon SES uses to recognize subsequent retries of the same request.
|
CreateRuleSetRequest |
withRules(Collection<Rule> rules)
Conditional rules that are evaluated for determining actions on email.
|
CreateRuleSetRequest |
withRules(Rule... rules)
Conditional rules that are evaluated for determining actions on email.
|
CreateRuleSetRequest |
withRuleSetName(String ruleSetName)
A user-friendly name for the rule set.
|
CreateRuleSetRequest |
withTags(Collection<Tag> tags)
The tags used to organize, track, or control access for the resource.
|
CreateRuleSetRequest |
withTags(Tag... tags)
The tags used to organize, track, or control access for the resource.
|
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 setClientToken(String clientToken)
A unique token that Amazon SES uses to recognize subsequent retries of the same request.
clientToken
- A unique token that Amazon SES uses to recognize subsequent retries of the same request.public String getClientToken()
A unique token that Amazon SES uses to recognize subsequent retries of the same request.
public CreateRuleSetRequest withClientToken(String clientToken)
A unique token that Amazon SES uses to recognize subsequent retries of the same request.
clientToken
- A unique token that Amazon SES uses to recognize subsequent retries of the same request.public void setRuleSetName(String ruleSetName)
A user-friendly name for the rule set.
ruleSetName
- A user-friendly name for the rule set.public String getRuleSetName()
A user-friendly name for the rule set.
public CreateRuleSetRequest withRuleSetName(String ruleSetName)
A user-friendly name for the rule set.
ruleSetName
- A user-friendly name for the rule set.public List<Rule> getRules()
Conditional rules that are evaluated for determining actions on email.
public void setRules(Collection<Rule> rules)
Conditional rules that are evaluated for determining actions on email.
rules
- Conditional rules that are evaluated for determining actions on email.public CreateRuleSetRequest withRules(Rule... rules)
Conditional rules that are evaluated for determining actions on email.
NOTE: This method appends the values to the existing list (if any). Use
setRules(java.util.Collection)
or withRules(java.util.Collection)
if you want to override the
existing values.
rules
- Conditional rules that are evaluated for determining actions on email.public CreateRuleSetRequest withRules(Collection<Rule> rules)
Conditional rules that are evaluated for determining actions on email.
rules
- Conditional rules that are evaluated for determining actions on email.public List<Tag> getTags()
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public void setTags(Collection<Tag> tags)
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
tags
- The tags used to organize, track, or control access for the resource. For example, { "tags":
{"key1":"value1", "key2":"value2"} }.public CreateRuleSetRequest withTags(Tag... tags)
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags used to organize, track, or control access for the resource. For example, { "tags":
{"key1":"value1", "key2":"value2"} }.public CreateRuleSetRequest withTags(Collection<Tag> tags)
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
tags
- The tags used to organize, track, or control access for the resource. For example, { "tags":
{"key1":"value1", "key2":"value2"} }.public String toString()
toString
in class Object
Object.toString()
public CreateRuleSetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()