@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetTemplateResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetTemplateResult() |
Modifier and Type | Method and Description |
---|---|
GetTemplateResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
GetTemplateResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
GetTemplateResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
The time at which the template was last created.
|
String |
getDescription()
The time at which the template was last created.
|
String |
getId()
The ID of the template.
|
List<TemplateInput> |
getInputs()
The inputs provided for the creation of the migration workflow.
|
String |
getName()
The name of the template.
|
String |
getOwner()
The owner of the migration workflow template.
|
String |
getStatus()
The status of the template.
|
String |
getStatusMessage()
The status message of retrieving migration workflow templates.
|
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 |
getTemplateClass()
The class of the migration workflow template.
|
List<Tool> |
getTools()
List of AWS services utilized in a migration workflow.
|
int |
hashCode() |
void |
setCreationTime(Date creationTime)
The time at which the template was last created.
|
void |
setDescription(String description)
The time at which the template was last created.
|
void |
setId(String id)
The ID of the template.
|
void |
setInputs(Collection<TemplateInput> inputs)
The inputs provided for the creation of the migration workflow.
|
void |
setName(String name)
The name of the template.
|
void |
setOwner(String owner)
The owner of the migration workflow template.
|
void |
setStatus(String status)
The status of the template.
|
void |
setStatusMessage(String statusMessage)
The status message of retrieving migration workflow templates.
|
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 |
setTemplateClass(String templateClass)
The class of the migration workflow template.
|
void |
setTools(Collection<Tool> tools)
List of AWS services utilized in a migration workflow.
|
String |
toString()
Returns a string representation of this object.
|
GetTemplateResult |
withCreationTime(Date creationTime)
The time at which the template was last created.
|
GetTemplateResult |
withDescription(String description)
The time at which the template was last created.
|
GetTemplateResult |
withId(String id)
The ID of the template.
|
GetTemplateResult |
withInputs(Collection<TemplateInput> inputs)
The inputs provided for the creation of the migration workflow.
|
GetTemplateResult |
withInputs(TemplateInput... inputs)
The inputs provided for the creation of the migration workflow.
|
GetTemplateResult |
withName(String name)
The name of the template.
|
GetTemplateResult |
withOwner(String owner)
The owner of the migration workflow template.
|
GetTemplateResult |
withStatus(String status)
The status of the template.
|
GetTemplateResult |
withStatus(TemplateStatus status)
The status of the template.
|
GetTemplateResult |
withStatusMessage(String statusMessage)
The status message of retrieving migration workflow templates.
|
GetTemplateResult |
withTags(Map<String,String> tags)
The tags added to the migration workflow template.
|
GetTemplateResult |
withTemplateArn(String templateArn)
>The Amazon Resource Name (ARN) of the migration workflow template.
|
GetTemplateResult |
withTemplateClass(String templateClass)
The class of the migration workflow template.
|
GetTemplateResult |
withTools(Collection<Tool> tools)
List of AWS services utilized in a migration workflow.
|
GetTemplateResult |
withTools(Tool... tools)
List of AWS services utilized in a migration workflow.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setId(String id)
The ID of the template.
id
- The ID of the template.public String getId()
The ID of the template.
public GetTemplateResult withId(String id)
The ID of the template.
id
- The ID of the 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 GetTemplateResult 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 void setName(String name)
The name of the template.
name
- The name of the template.public String getName()
The name of the template.
public GetTemplateResult withName(String name)
The name of the template.
name
- The name of the template.public void setDescription(String description)
The time at which the template was last created.
description
- The time at which the template was last created.public String getDescription()
The time at which the template was last created.
public GetTemplateResult withDescription(String description)
The time at which the template was last created.
description
- The time at which the template was last created.public List<TemplateInput> getInputs()
The inputs provided for the creation of the migration workflow.
public void setInputs(Collection<TemplateInput> inputs)
The inputs provided for the creation of the migration workflow.
inputs
- The inputs provided for the creation of the migration workflow.public GetTemplateResult withInputs(TemplateInput... inputs)
The inputs provided for the creation of the migration workflow.
NOTE: This method appends the values to the existing list (if any). Use
setInputs(java.util.Collection)
or withInputs(java.util.Collection)
if you want to override the
existing values.
inputs
- The inputs provided for the creation of the migration workflow.public GetTemplateResult withInputs(Collection<TemplateInput> inputs)
The inputs provided for the creation of the migration workflow.
inputs
- The inputs provided for the creation of the migration workflow.public List<Tool> getTools()
List of AWS services utilized in a migration workflow.
public void setTools(Collection<Tool> tools)
List of AWS services utilized in a migration workflow.
tools
- List of AWS services utilized in a migration workflow.public GetTemplateResult withTools(Tool... tools)
List of AWS services utilized in a migration workflow.
NOTE: This method appends the values to the existing list (if any). Use
setTools(java.util.Collection)
or withTools(java.util.Collection)
if you want to override the
existing values.
tools
- List of AWS services utilized in a migration workflow.public GetTemplateResult withTools(Collection<Tool> tools)
List of AWS services utilized in a migration workflow.
tools
- List of AWS services utilized in a migration workflow.public void setCreationTime(Date creationTime)
The time at which the template was last created.
creationTime
- The time at which the template was last created.public Date getCreationTime()
The time at which the template was last created.
public GetTemplateResult withCreationTime(Date creationTime)
The time at which the template was last created.
creationTime
- The time at which the template was last created.public void setOwner(String owner)
The owner of the migration workflow template.
owner
- The owner of the migration workflow template.public String getOwner()
The owner of the migration workflow template.
public GetTemplateResult withOwner(String owner)
The owner of the migration workflow template.
owner
- The owner of the migration workflow template.public void setStatus(String status)
The status of the template.
status
- The status of the template.TemplateStatus
public String getStatus()
The status of the template.
TemplateStatus
public GetTemplateResult withStatus(String status)
The status of the template.
status
- The status of the template.TemplateStatus
public GetTemplateResult withStatus(TemplateStatus status)
The status of the template.
status
- The status of the template.TemplateStatus
public void setStatusMessage(String statusMessage)
The status message of retrieving migration workflow templates.
statusMessage
- The status message of retrieving migration workflow templates.public String getStatusMessage()
The status message of retrieving migration workflow templates.
public GetTemplateResult withStatusMessage(String statusMessage)
The status message of retrieving migration workflow templates.
statusMessage
- The status message of retrieving migration workflow templates.public void setTemplateClass(String templateClass)
The class of the migration workflow template. The available template classes are:
A2C
MGN
SAP_MULTI
SQL_EC2
SQL_RDS
VMIE
templateClass
- The class of the migration workflow template. The available template classes are:
A2C
MGN
SAP_MULTI
SQL_EC2
SQL_RDS
VMIE
public String getTemplateClass()
The class of the migration workflow template. The available template classes are:
A2C
MGN
SAP_MULTI
SQL_EC2
SQL_RDS
VMIE
A2C
MGN
SAP_MULTI
SQL_EC2
SQL_RDS
VMIE
public GetTemplateResult withTemplateClass(String templateClass)
The class of the migration workflow template. The available template classes are:
A2C
MGN
SAP_MULTI
SQL_EC2
SQL_RDS
VMIE
templateClass
- The class of the migration workflow template. The available template classes are:
A2C
MGN
SAP_MULTI
SQL_EC2
SQL_RDS
VMIE
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 GetTemplateResult withTags(Map<String,String> tags)
The tags added to the migration workflow template.
tags
- The tags added to the migration workflow template.public GetTemplateResult addTagsEntry(String key, String value)
public GetTemplateResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public GetTemplateResult clone()