| Package | Description | 
|---|---|
| com.amazonaws.services.ecs.model | 
| Modifier and Type | Method and Description | 
|---|---|
| Task | Task. clone() | 
| Task | StopTaskResult. getTask()
 The task that was stopped. | 
| Task | Task. withClusterArn(String clusterArn)
 The Amazon Resource Name (ARN) of the cluster that hosts the task. | 
| Task | Task. withContainerInstanceArn(String containerInstanceArn)
 The Amazon Resource Name (ARN) of the container instances that host the task. | 
| Task | Task. withContainers(Collection<Container> containers)
 The containers associated with the task. | 
| Task | Task. withContainers(Container... containers)
 The containers associated with the task. | 
| Task | Task. withCreatedAt(Date createdAt)
 The Unix timestamp for when the task was created (the task entered the  PENDINGstate). | 
| Task | Task. withDesiredStatus(String desiredStatus)
 The desired status of the task. | 
| Task | Task. withGroup(String group)
 The name of the task group associated with the task. | 
| Task | Task. withLastStatus(String lastStatus)
 The last known status of the task. | 
| Task | Task. withOverrides(TaskOverride overrides)
 One or more container overrides. | 
| Task | Task. withStartedAt(Date startedAt)
 The Unix timestamp for when the task was started (the task transitioned from the  PENDINGstate to
 theRUNNINGstate). | 
| Task | Task. withStartedBy(String startedBy)
 The tag specified when a task is started. | 
| Task | Task. withStoppedAt(Date stoppedAt)
 The Unix timestamp for when the task was stopped (the task transitioned from the  RUNNINGstate to
 theSTOPPEDstate). | 
| Task | Task. withStoppedReason(String stoppedReason)
 The reason the task was stopped. | 
| Task | Task. withTaskArn(String taskArn)
 The Amazon Resource Name (ARN) of the task. | 
| Task | Task. withTaskDefinitionArn(String taskDefinitionArn)
 The Amazon Resource Name (ARN) of the task definition that creates the task. | 
| Task | Task. withVersion(Long version)
 The version counter for the task. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Task> | StartTaskResult. getTasks()
 A full description of the tasks that were started. | 
| List<Task> | DescribeTasksResult. getTasks()
 The list of tasks. | 
| List<Task> | RunTaskResult. getTasks()
 A full description of the tasks that were run. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | StopTaskResult. setTask(Task task)
 The task that was stopped. | 
| StopTaskResult | StopTaskResult. withTask(Task task)
 The task that was stopped. | 
| StartTaskResult | StartTaskResult. withTasks(Task... tasks)
 A full description of the tasks that were started. | 
| DescribeTasksResult | DescribeTasksResult. withTasks(Task... tasks)
 The list of tasks. | 
| RunTaskResult | RunTaskResult. withTasks(Task... tasks)
 A full description of the tasks that were run. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | StartTaskResult. setTasks(Collection<Task> tasks)
 A full description of the tasks that were started. | 
| void | DescribeTasksResult. setTasks(Collection<Task> tasks)
 The list of tasks. | 
| void | RunTaskResult. setTasks(Collection<Task> tasks)
 A full description of the tasks that were run. | 
| StartTaskResult | StartTaskResult. withTasks(Collection<Task> tasks)
 A full description of the tasks that were started. | 
| DescribeTasksResult | DescribeTasksResult. withTasks(Collection<Task> tasks)
 The list of tasks. | 
| RunTaskResult | RunTaskResult. withTasks(Collection<Task> tasks)
 A full description of the tasks that were run. | 
Copyright © 2017. All rights reserved.