@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSubscriptionDefinitionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateSubscriptionDefinitionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateSubscriptionDefinitionRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateSubscriptionDefinitionRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateSubscriptionDefinitionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAmznClientToken()
A client token used to correlate requests and responses.
|
SubscriptionDefinitionVersion |
getInitialVersion()
Information about the initial version of the subscription definition.
|
String |
getName()
The name of the subscription definition.
|
Map<String,String> |
getTags()
Tag(s) to add to the new resource.
|
int |
hashCode() |
void |
setAmznClientToken(String amznClientToken)
A client token used to correlate requests and responses.
|
void |
setInitialVersion(SubscriptionDefinitionVersion initialVersion)
Information about the initial version of the subscription definition.
|
void |
setName(String name)
The name of the subscription definition.
|
void |
setTags(Map<String,String> tags)
Tag(s) to add to the new resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateSubscriptionDefinitionRequest |
withAmznClientToken(String amznClientToken)
A client token used to correlate requests and responses.
|
CreateSubscriptionDefinitionRequest |
withInitialVersion(SubscriptionDefinitionVersion initialVersion)
Information about the initial version of the subscription definition.
|
CreateSubscriptionDefinitionRequest |
withName(String name)
The name of the subscription definition.
|
CreateSubscriptionDefinitionRequest |
withTags(Map<String,String> tags)
Tag(s) to add to the new 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 setAmznClientToken(String amznClientToken)
amznClientToken
- A client token used to correlate requests and responses.public String getAmznClientToken()
public CreateSubscriptionDefinitionRequest withAmznClientToken(String amznClientToken)
amznClientToken
- A client token used to correlate requests and responses.public void setInitialVersion(SubscriptionDefinitionVersion initialVersion)
initialVersion
- Information about the initial version of the subscription definition.public SubscriptionDefinitionVersion getInitialVersion()
public CreateSubscriptionDefinitionRequest withInitialVersion(SubscriptionDefinitionVersion initialVersion)
initialVersion
- Information about the initial version of the subscription definition.public void setName(String name)
name
- The name of the subscription definition.public String getName()
public CreateSubscriptionDefinitionRequest withName(String name)
name
- The name of the subscription definition.public Map<String,String> getTags()
public void setTags(Map<String,String> tags)
tags
- Tag(s) to add to the new resource.public CreateSubscriptionDefinitionRequest withTags(Map<String,String> tags)
tags
- Tag(s) to add to the new resource.public CreateSubscriptionDefinitionRequest addTagsEntry(String key, String value)
public CreateSubscriptionDefinitionRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateSubscriptionDefinitionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()