@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAddonSubscriptionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateAddonSubscriptionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAddonSubscriptionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAddonName()
The name of the Add On to subscribe to.
|
String |
getClientToken()
A unique token that Amazon SES uses to recognize subsequent retries of the same request.
|
List<Tag> |
getTags()
The tags used to organize, track, or control access for the resource.
|
int |
hashCode() |
void |
setAddonName(String addonName)
The name of the Add On to subscribe to.
|
void |
setClientToken(String clientToken)
A unique token that Amazon SES uses to recognize subsequent retries of the same request.
|
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.
|
CreateAddonSubscriptionRequest |
withAddonName(String addonName)
The name of the Add On to subscribe to.
|
CreateAddonSubscriptionRequest |
withClientToken(String clientToken)
A unique token that Amazon SES uses to recognize subsequent retries of the same request.
|
CreateAddonSubscriptionRequest |
withTags(Collection<Tag> tags)
The tags used to organize, track, or control access for the resource.
|
CreateAddonSubscriptionRequest |
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 setAddonName(String addonName)
The name of the Add On to subscribe to. You can only have one subscription for each Add On name.
addonName
- The name of the Add On to subscribe to. You can only have one subscription for each Add On name.public String getAddonName()
The name of the Add On to subscribe to. You can only have one subscription for each Add On name.
public CreateAddonSubscriptionRequest withAddonName(String addonName)
The name of the Add On to subscribe to. You can only have one subscription for each Add On name.
addonName
- The name of the Add On to subscribe to. You can only have one subscription for each Add On name.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 CreateAddonSubscriptionRequest 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 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 CreateAddonSubscriptionRequest 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 CreateAddonSubscriptionRequest 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 CreateAddonSubscriptionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()