@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; useful for testing and debugging.
|
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.Status
public String getStatus()
Status of the task - Not Started, In-Progress, Complete.
Status
public Task withStatus(String status)
Status of the task - Not Started, In-Progress, Complete.
status
- Status of the task - Not Started, In-Progress, Complete.Status
public Task withStatus(Status status)
Status of the task - Not Started, In-Progress, Complete.
status
- Status of the task - Not Started, In-Progress, Complete.Status
public 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 Object
Object.toString()
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.