@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 task executions. TaskExecutionListEntry
returns an array that
contains a list of specific invocations of a task when the ListTaskExecutions
operation is called.
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 the task that was executed.
|
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 the task that was executed.
|
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 the task that was executed.
|
public void setTaskExecutionArn(String taskExecutionArn)
The Amazon Resource Name (ARN) of the task that was executed.
taskExecutionArn
- The Amazon Resource Name (ARN) of the task that was executed.public String getTaskExecutionArn()
The Amazon Resource Name (ARN) of the task that was executed.
public TaskExecutionListEntry withTaskExecutionArn(String taskExecutionArn)
The Amazon Resource Name (ARN) of the task that was executed.
taskExecutionArn
- The Amazon Resource Name (ARN) of the task that was executed.public void setStatus(String status)
The status of a task execution.
status
- The status of a task execution.TaskExecutionStatus
public String getStatus()
The status of a task execution.
TaskExecutionStatus
public TaskExecutionListEntry withStatus(String status)
The status of a task execution.
status
- The status of a task execution.TaskExecutionStatus
public TaskExecutionListEntry withStatus(TaskExecutionStatus status)
The status of a task execution.
status
- The status of a task execution.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.