@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()
Information about the resource that is being migrated.
|
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)
Information about the resource that is being migrated.
|
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.
|
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)
Information about the resource that is being migrated.
|
MigrationTask |
withResourceAttributeList(ResourceAttribute... resourceAttributeList)
Information about the resource that is being migrated.
|
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. Do not store personal data in this field.
migrationTaskName
- Unique identifier that references the migration task. Do not store personal data in this field.public String getMigrationTaskName()
Unique identifier that references the migration task. Do not store personal data in this field.
public MigrationTask withMigrationTaskName(String migrationTaskName)
Unique identifier that references the migration task. Do not store personal data in this field.
migrationTaskName
- Unique identifier that references the migration task. Do not store personal data in this field.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()
Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service repository.
public void setResourceAttributeList(Collection<ResourceAttribute> resourceAttributeList)
Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service repository.
resourceAttributeList
- Information about the resource that is being migrated. This data will be used to map the task to a
resource in the Application Discovery Service repository.public MigrationTask withResourceAttributeList(ResourceAttribute... resourceAttributeList)
Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service repository.
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
- Information about the resource that is being migrated. This data will be used to map the task to a
resource in the Application Discovery Service repository.public MigrationTask withResourceAttributeList(Collection<ResourceAttribute> resourceAttributeList)
Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service repository.
resourceAttributeList
- Information about the resource that is being migrated. This data will be used to map the task to a
resource in the Application Discovery Service repository.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.