@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListExecutionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListExecutionsResult() |
Modifier and Type | Method and Description |
---|---|
ListExecutionsResult |
clone() |
boolean |
equals(Object obj) |
List<ExecutionSummary> |
getExecutions()
A list of executions.
|
String |
getNextToken()
A pagination token to continue to the next page of executions.
|
int |
hashCode() |
void |
setExecutions(Collection<ExecutionSummary> executions)
A list of executions.
|
void |
setNextToken(String nextToken)
A pagination token to continue to the next page of executions.
|
String |
toString()
Returns a string representation of this object.
|
ListExecutionsResult |
withExecutions(Collection<ExecutionSummary> executions)
A list of executions.
|
ListExecutionsResult |
withExecutions(ExecutionSummary... executions)
A list of executions.
|
ListExecutionsResult |
withNextToken(String nextToken)
A pagination token to continue to the next page of executions.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ExecutionSummary> getExecutions()
A list of executions. Each execution contains the task ID, the device that the task is executing on, the execution ID, and the status of the execution.
public void setExecutions(Collection<ExecutionSummary> executions)
A list of executions. Each execution contains the task ID, the device that the task is executing on, the execution ID, and the status of the execution.
executions
- A list of executions. Each execution contains the task ID, the device that the task is executing on, the
execution ID, and the status of the execution.public ListExecutionsResult withExecutions(ExecutionSummary... executions)
A list of executions. Each execution contains the task ID, the device that the task is executing on, the execution ID, and the status of the execution.
NOTE: This method appends the values to the existing list (if any). Use
setExecutions(java.util.Collection)
or withExecutions(java.util.Collection)
if you want to
override the existing values.
executions
- A list of executions. Each execution contains the task ID, the device that the task is executing on, the
execution ID, and the status of the execution.public ListExecutionsResult withExecutions(Collection<ExecutionSummary> executions)
A list of executions. Each execution contains the task ID, the device that the task is executing on, the execution ID, and the status of the execution.
executions
- A list of executions. Each execution contains the task ID, the device that the task is executing on, the
execution ID, and the status of the execution.public void setNextToken(String nextToken)
A pagination token to continue to the next page of executions.
nextToken
- A pagination token to continue to the next page of executions.public String getNextToken()
A pagination token to continue to the next page of executions.
public ListExecutionsResult withNextToken(String nextToken)
A pagination token to continue to the next page of executions.
nextToken
- A pagination token to continue to the next page of executions.public String toString()
toString
in class Object
Object.toString()
public ListExecutionsResult clone()