@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) |
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.TaskStatuspublic String getStatus()
The status of the task.
TaskStatuspublic TaskListEntry withStatus(String status)
The status of the task.
status - The status of the task.TaskStatuspublic TaskListEntry withStatus(TaskStatus status)
The status of the task.
status - The status of the task.TaskStatuspublic 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 ObjectObject.toString()public TaskListEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.