@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MigrationTask extends Object implements Serializable, Cloneable, StructuredPojo
Represents a migration task in a migration tool.
Constructor and Description |
---|
MigrationTask() |
Modifier and Type | Method and Description |
---|---|
MigrationTask |
clone() |
boolean |
equals(Object obj) |
String |
getMigrationTaskName()
Unique identifier that references the migration task.
|
String |
getProgressUpdateStream()
A name that identifies the vendor of the migration tool being used.
|
List<ResourceAttribute> |
getResourceAttributeList()
|
Task |
getTask()
Task object encapsulating task information.
|
Date |
getUpdateDateTime()
The timestamp when the task was gathered.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMigrationTaskName(String migrationTaskName)
Unique identifier that references the migration task.
|
void |
setProgressUpdateStream(String progressUpdateStream)
A name that identifies the vendor of the migration tool being used.
|
void |
setResourceAttributeList(Collection<ResourceAttribute> resourceAttributeList)
|
void |
setTask(Task task)
Task object encapsulating task information.
|
void |
setUpdateDateTime(Date updateDateTime)
The timestamp when the task was gathered.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
MigrationTask |
withMigrationTaskName(String migrationTaskName)
Unique identifier that references the migration task.
|
MigrationTask |
withProgressUpdateStream(String progressUpdateStream)
A name that identifies the vendor of the migration tool being used.
|
MigrationTask |
withResourceAttributeList(Collection<ResourceAttribute> resourceAttributeList)
|
MigrationTask |
withResourceAttributeList(ResourceAttribute... resourceAttributeList)
|
MigrationTask |
withTask(Task task)
Task object encapsulating task information.
|
MigrationTask |
withUpdateDateTime(Date updateDateTime)
The timestamp when the task was gathered.
|
public void setProgressUpdateStream(String progressUpdateStream)
A name that identifies the vendor of the migration tool being used.
progressUpdateStream
- A name that identifies the vendor of the migration tool being used.public String getProgressUpdateStream()
A name that identifies the vendor of the migration tool being used.
public MigrationTask withProgressUpdateStream(String progressUpdateStream)
A name that identifies the vendor of the migration tool being used.
progressUpdateStream
- A name that identifies the vendor of the migration tool being used.public void setMigrationTaskName(String migrationTaskName)
Unique identifier that references the migration task.
migrationTaskName
- Unique identifier that references the migration task.public String getMigrationTaskName()
Unique identifier that references the migration task.
public MigrationTask withMigrationTaskName(String migrationTaskName)
Unique identifier that references the migration task.
migrationTaskName
- Unique identifier that references the migration task.public void setTask(Task task)
Task object encapsulating task information.
task
- Task object encapsulating task information.public Task getTask()
Task object encapsulating task information.
public MigrationTask withTask(Task task)
Task object encapsulating task information.
task
- Task object encapsulating task information.public void setUpdateDateTime(Date updateDateTime)
The timestamp when the task was gathered.
updateDateTime
- The timestamp when the task was gathered.public Date getUpdateDateTime()
The timestamp when the task was gathered.
public MigrationTask withUpdateDateTime(Date updateDateTime)
The timestamp when the task was gathered.
updateDateTime
- The timestamp when the task was gathered.public List<ResourceAttribute> getResourceAttributeList()
public void setResourceAttributeList(Collection<ResourceAttribute> resourceAttributeList)
resourceAttributeList
- public MigrationTask withResourceAttributeList(ResourceAttribute... resourceAttributeList)
NOTE: This method appends the values to the existing list (if any). Use
setResourceAttributeList(java.util.Collection)
or
withResourceAttributeList(java.util.Collection)
if you want to override the existing values.
resourceAttributeList
- public MigrationTask withResourceAttributeList(Collection<ResourceAttribute> resourceAttributeList)
resourceAttributeList
- public String toString()
toString
in class Object
Object.toString()
public MigrationTask clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.