@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Task extends Object implements Serializable, Cloneable, StructuredPojo
Task object encapsulating task information.
| Constructor and Description |
|---|
Task() |
| Modifier and Type | Method and Description |
|---|---|
Task |
clone() |
boolean |
equals(Object obj) |
Integer |
getProgressPercent()
Indication of the percentage completion of the task.
|
String |
getStatus()
Status of the task - Not Started, In-Progress, Complete.
|
String |
getStatusDetail()
Details of task status as notified by a migration tool.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setProgressPercent(Integer progressPercent)
Indication of the percentage completion of the task.
|
void |
setStatus(String status)
Status of the task - Not Started, In-Progress, Complete.
|
void |
setStatusDetail(String statusDetail)
Details of task status as notified by a migration tool.
|
String |
toString()
Returns a string representation of this object.
|
Task |
withProgressPercent(Integer progressPercent)
Indication of the percentage completion of the task.
|
Task |
withStatus(Status status)
Status of the task - Not Started, In-Progress, Complete.
|
Task |
withStatus(String status)
Status of the task - Not Started, In-Progress, Complete.
|
Task |
withStatusDetail(String statusDetail)
Details of task status as notified by a migration tool.
|
public void setStatus(String status)
Status of the task - Not Started, In-Progress, Complete.
status - Status of the task - Not Started, In-Progress, Complete.Statuspublic String getStatus()
Status of the task - Not Started, In-Progress, Complete.
Statuspublic Task withStatus(String status)
Status of the task - Not Started, In-Progress, Complete.
status - Status of the task - Not Started, In-Progress, Complete.Statuspublic Task withStatus(Status status)
Status of the task - Not Started, In-Progress, Complete.
status - Status of the task - Not Started, In-Progress, Complete.Statuspublic void setStatusDetail(String statusDetail)
Details of task status as notified by a migration tool. A tool might use this field to provide clarifying information about the status that is unique to that tool or that explains an error state.
statusDetail - Details of task status as notified by a migration tool. A tool might use this field to provide clarifying
information about the status that is unique to that tool or that explains an error state.public String getStatusDetail()
Details of task status as notified by a migration tool. A tool might use this field to provide clarifying information about the status that is unique to that tool or that explains an error state.
public Task withStatusDetail(String statusDetail)
Details of task status as notified by a migration tool. A tool might use this field to provide clarifying information about the status that is unique to that tool or that explains an error state.
statusDetail - Details of task status as notified by a migration tool. A tool might use this field to provide clarifying
information about the status that is unique to that tool or that explains an error state.public void setProgressPercent(Integer progressPercent)
Indication of the percentage completion of the task.
progressPercent - Indication of the percentage completion of the task.public Integer getProgressPercent()
Indication of the percentage completion of the task.
public Task withProgressPercent(Integer progressPercent)
Indication of the percentage completion of the task.
progressPercent - Indication of the percentage completion of the task.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.