@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTemplateResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateTemplateResult() |
Modifier and Type | Method and Description |
---|---|
CreateTemplateResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateTemplateResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateTemplateResult |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getTags()
The tags added to the migration workflow template.
|
String |
getTemplateArn()
The Amazon Resource Name (ARN) of the migration workflow template.
|
String |
getTemplateId()
The ID of the migration workflow template.
|
int |
hashCode() |
void |
setTags(Map<String,String> tags)
The tags added to the migration workflow template.
|
void |
setTemplateArn(String templateArn)
The Amazon Resource Name (ARN) of the migration workflow template.
|
void |
setTemplateId(String templateId)
The ID of the migration workflow template.
|
String |
toString()
Returns a string representation of this object.
|
CreateTemplateResult |
withTags(Map<String,String> tags)
The tags added to the migration workflow template.
|
CreateTemplateResult |
withTemplateArn(String templateArn)
The Amazon Resource Name (ARN) of the migration workflow template.
|
CreateTemplateResult |
withTemplateId(String templateId)
The ID of the migration workflow template.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTemplateId(String templateId)
The ID of the migration workflow template.
templateId
- The ID of the migration workflow template.public String getTemplateId()
The ID of the migration workflow template.
public CreateTemplateResult withTemplateId(String templateId)
The ID of the migration workflow template.
templateId
- The ID of the migration workflow template.public void setTemplateArn(String templateArn)
The Amazon Resource Name (ARN) of the migration workflow template. The format for an Migration Hub Orchestrator
template ARN is arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234
. For
more information about ARNs, see Amazon Resource Names (ARNs) in
the AWS General Reference.
templateArn
- The Amazon Resource Name (ARN) of the migration workflow template. The format for an Migration Hub
Orchestrator template ARN is
arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234
. For more
information about ARNs, see Amazon Resource Names
(ARNs) in the AWS General Reference.public String getTemplateArn()
The Amazon Resource Name (ARN) of the migration workflow template. The format for an Migration Hub Orchestrator
template ARN is arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234
. For
more information about ARNs, see Amazon Resource Names (ARNs) in
the AWS General Reference.
arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234
. For more
information about ARNs, see Amazon Resource Names
(ARNs) in the AWS General Reference.public CreateTemplateResult withTemplateArn(String templateArn)
The Amazon Resource Name (ARN) of the migration workflow template. The format for an Migration Hub Orchestrator
template ARN is arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234
. For
more information about ARNs, see Amazon Resource Names (ARNs) in
the AWS General Reference.
templateArn
- The Amazon Resource Name (ARN) of the migration workflow template. The format for an Migration Hub
Orchestrator template ARN is
arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234
. For more
information about ARNs, see Amazon Resource Names
(ARNs) in the AWS General Reference.public Map<String,String> getTags()
The tags added to the migration workflow template.
public void setTags(Map<String,String> tags)
The tags added to the migration workflow template.
tags
- The tags added to the migration workflow template.public CreateTemplateResult withTags(Map<String,String> tags)
The tags added to the migration workflow template.
tags
- The tags added to the migration workflow template.public CreateTemplateResult addTagsEntry(String key, String value)
public CreateTemplateResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateTemplateResult clone()