@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTemplateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
CreateTemplateRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateTemplateRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateTemplateRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
Map<String,String> |
getTags()
The tags to add to the migration workflow template.
|
String |
getTemplateDescription()
A description of the migration workflow template.
|
String |
getTemplateName()
The name of the migration workflow template.
|
TemplateSource |
getTemplateSource()
The source of the migration workflow template.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setTags(Map<String,String> tags)
The tags to add to the migration workflow template.
|
void |
setTemplateDescription(String templateDescription)
A description of the migration workflow template.
|
void |
setTemplateName(String templateName)
The name of the migration workflow template.
|
void |
setTemplateSource(TemplateSource templateSource)
The source of the migration workflow template.
|
String |
toString()
Returns a string representation of this object.
|
CreateTemplateRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateTemplateRequest |
withTags(Map<String,String> tags)
The tags to add to the migration workflow template.
|
CreateTemplateRequest |
withTemplateDescription(String templateDescription)
A description of the migration workflow template.
|
CreateTemplateRequest |
withTemplateName(String templateName)
The name of the migration workflow template.
|
CreateTemplateRequest |
withTemplateSource(TemplateSource templateSource)
The source of the migration workflow template.
|
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 setTemplateName(String templateName)
The name of the migration workflow template.
templateName
- The name of the migration workflow template.public String getTemplateName()
The name of the migration workflow template.
public CreateTemplateRequest withTemplateName(String templateName)
The name of the migration workflow template.
templateName
- The name of the migration workflow template.public void setTemplateDescription(String templateDescription)
A description of the migration workflow template.
templateDescription
- A description of the migration workflow template.public String getTemplateDescription()
A description of the migration workflow template.
public CreateTemplateRequest withTemplateDescription(String templateDescription)
A description of the migration workflow template.
templateDescription
- A description of the migration workflow template.public void setTemplateSource(TemplateSource templateSource)
The source of the migration workflow template.
templateSource
- The source of the migration workflow template.public TemplateSource getTemplateSource()
The source of the migration workflow template.
public CreateTemplateRequest withTemplateSource(TemplateSource templateSource)
The source of the migration workflow template.
templateSource
- The source of the migration workflow template.public void setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Idempotency in the Smithy documentation.
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
information, see Idempotency in the
Smithy documentation.public String getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Idempotency in the Smithy documentation.
public CreateTemplateRequest withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Idempotency in the Smithy documentation.
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
information, see Idempotency in the
Smithy documentation.public Map<String,String> getTags()
The tags to add to the migration workflow template.
public void setTags(Map<String,String> tags)
The tags to add to the migration workflow template.
tags
- The tags to add to the migration workflow template.public CreateTemplateRequest withTags(Map<String,String> tags)
The tags to add to the migration workflow template.
tags
- The tags to add to the migration workflow template.public CreateTemplateRequest addTagsEntry(String key, String value)
public CreateTemplateRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateTemplateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()