@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TaskExecutionListEntry extends Object implements Serializable, Cloneable, StructuredPojo
Represents a single entry in a list of DataSync task executions that's returned with the ListTaskExecutions operation.
Constructor and Description |
---|
TaskExecutionListEntry() |
Modifier and Type | Method and Description |
---|---|
TaskExecutionListEntry |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
The status of a task execution.
|
String |
getTaskExecutionArn()
The Amazon Resource Name (ARN) of a task execution.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setStatus(String status)
The status of a task execution.
|
void |
setTaskExecutionArn(String taskExecutionArn)
The Amazon Resource Name (ARN) of a task execution.
|
String |
toString()
Returns a string representation of this object.
|
TaskExecutionListEntry |
withStatus(String status)
The status of a task execution.
|
TaskExecutionListEntry |
withStatus(TaskExecutionStatus status)
The status of a task execution.
|
TaskExecutionListEntry |
withTaskExecutionArn(String taskExecutionArn)
The Amazon Resource Name (ARN) of a task execution.
|
public void setTaskExecutionArn(String taskExecutionArn)
The Amazon Resource Name (ARN) of a task execution.
taskExecutionArn
- The Amazon Resource Name (ARN) of a task execution.public String getTaskExecutionArn()
The Amazon Resource Name (ARN) of a task execution.
public TaskExecutionListEntry withTaskExecutionArn(String taskExecutionArn)
The Amazon Resource Name (ARN) of a task execution.
taskExecutionArn
- The Amazon Resource Name (ARN) of a task execution.public void setStatus(String status)
The status of a task execution. For more information, see Task execution statuses.
status
- The status of a task execution. For more information, see Task execution statuses.TaskExecutionStatus
public String getStatus()
The status of a task execution. For more information, see Task execution statuses.
TaskExecutionStatus
public TaskExecutionListEntry withStatus(String status)
The status of a task execution. For more information, see Task execution statuses.
status
- The status of a task execution. For more information, see Task execution statuses.TaskExecutionStatus
public TaskExecutionListEntry withStatus(TaskExecutionStatus status)
The status of a task execution. For more information, see Task execution statuses.
status
- The status of a task execution. For more information, see Task execution statuses.TaskExecutionStatus
public String toString()
toString
in class Object
Object.toString()
public TaskExecutionListEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.