@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TaskListEntry extends Object implements Serializable, Cloneable, StructuredPojo
Represents a single entry in a list of tasks. TaskListEntry
returns an array that contains a list of
tasks when the ListTasks
operation is called. A task includes the source and destination file systems to sync and the options to use for the
tasks.
Constructor and Description |
---|
TaskListEntry() |
Modifier and Type | Method and Description |
---|---|
TaskListEntry |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the task.
|
String |
getStatus()
The status of the task.
|
String |
getTaskArn()
The Amazon Resource Name (ARN) of the task.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the task.
|
void |
setStatus(String status)
The status of the task.
|
void |
setTaskArn(String taskArn)
The Amazon Resource Name (ARN) of the task.
|
String |
toString()
Returns a string representation of this object.
|
TaskListEntry |
withName(String name)
The name of the task.
|
TaskListEntry |
withStatus(String status)
The status of the task.
|
TaskListEntry |
withStatus(TaskStatus status)
The status of the task.
|
TaskListEntry |
withTaskArn(String taskArn)
The Amazon Resource Name (ARN) of the task.
|
public void setTaskArn(String taskArn)
The Amazon Resource Name (ARN) of the task.
taskArn
- The Amazon Resource Name (ARN) of the task.public String getTaskArn()
The Amazon Resource Name (ARN) of the task.
public TaskListEntry withTaskArn(String taskArn)
The Amazon Resource Name (ARN) of the task.
taskArn
- The Amazon Resource Name (ARN) of the task.public void setStatus(String status)
The status of the task.
status
- The status of the task.TaskStatus
public String getStatus()
The status of the task.
TaskStatus
public TaskListEntry withStatus(String status)
The status of the task.
status
- The status of the task.TaskStatus
public TaskListEntry withStatus(TaskStatus status)
The status of the task.
status
- The status of the task.TaskStatus
public void setName(String name)
The name of the task.
name
- The name of the task.public String getName()
The name of the task.
public TaskListEntry withName(String name)
The name of the task.
name
- The name of the task.public String toString()
toString
in class Object
Object.toString()
public TaskListEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.