| 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. withAttachments(Attachment... attachments)
 The Elastic Network Adapter associated with the task if the task uses the  awsvpcnetwork mode. | 
| Task | Task. withAttachments(Collection<Attachment> attachments)
 The Elastic Network Adapter associated with the task if the task uses the  awsvpcnetwork mode. | 
| Task | Task. withAttributes(Attribute... attributes)
 The attributes of the task | 
| Task | Task. withAttributes(Collection<Attribute> attributes)
 The attributes of the task | 
| Task | Task. withAvailabilityZone(String availabilityZone)
 The availability zone of the task. | 
| Task | Task. withCapacityProviderName(String capacityProviderName)
 The capacity provider associated with the task. | 
| Task | Task. withClusterArn(String clusterArn)
 The ARN of the cluster that hosts the task. | 
| Task | Task. withConnectivity(Connectivity connectivity)
 The connectivity status of a task. | 
| Task | Task. withConnectivity(String connectivity)
 The connectivity status of a task. | 
| Task | Task. withConnectivityAt(Date connectivityAt)
 The Unix timestamp for when the task last went into  CONNECTEDstatus. | 
| Task | Task. withContainerInstanceArn(String containerInstanceArn)
 The 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. withCpu(String cpu)
 The number of CPU units used by the task as expressed in a task definition. | 
| 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. withEnableExecuteCommand(Boolean enableExecuteCommand)
 Whether or not execute command functionality is enabled for this task. | 
| Task | Task. withEphemeralStorage(EphemeralStorage ephemeralStorage)
 The ephemeral storage settings for the task. | 
| Task | Task. withExecutionStoppedAt(Date executionStoppedAt)
 The Unix timestamp for when the task execution stopped. | 
| Task | Task. withGroup(String group)
 The name of the task group associated with the task. | 
| Task | Task. withHealthStatus(HealthStatus healthStatus)
 The health status for the task, which is determined by the health of the essential containers in the task. | 
| Task | Task. withHealthStatus(String healthStatus)
 The health status for the task, which is determined by the health of the essential containers in the task. | 
| Task | Task. withInferenceAccelerators(Collection<InferenceAccelerator> inferenceAccelerators)
 The Elastic Inference accelerator associated with the task. | 
| Task | Task. withInferenceAccelerators(InferenceAccelerator... inferenceAccelerators)
 The Elastic Inference accelerator associated with the task. | 
| Task | Task. withLastStatus(String lastStatus)
 The last known status of the task. | 
| Task | Task. withLaunchType(LaunchType launchType)
 The launch type on which your task is running. | 
| Task | Task. withLaunchType(String launchType)
 The launch type on which your task is running. | 
| Task | Task. withMemory(String memory)
 The amount of memory (in MiB) used by the task as expressed in a task definition. | 
| Task | Task. withOverrides(TaskOverride overrides)
 One or more container overrides. | 
| Task | Task. withPlatformVersion(String platformVersion)
 The platform version on which your task is running. | 
| Task | Task. withPullStartedAt(Date pullStartedAt)
 The Unix timestamp for when the container image pull began. | 
| Task | Task. withPullStoppedAt(Date pullStoppedAt)
 The Unix timestamp for when the container image pull completed. | 
| Task | Task. withStartedAt(Date startedAt)
 The Unix timestamp for when the task started (the task transitioned from the  PENDINGstate to theRUNNINGstate). | 
| Task | Task. withStartedBy(String startedBy)
 The tag specified when a task is started. | 
| Task | Task. withStopCode(String stopCode)
 The stop code indicating why a task was stopped. | 
| Task | Task. withStopCode(TaskStopCode stopCode)
 The stop code indicating why a task was stopped. | 
| 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 that the task was stopped. | 
| Task | Task. withStoppingAt(Date stoppingAt)
 The Unix timestamp for when the task stops (transitions from the  RUNNINGstate toSTOPPED). | 
| Task | Task. withTags(Collection<Tag> tags)
 The metadata that you apply to the task to help you categorize and organize them. | 
| Task | Task. withTags(Tag... tags)
 The metadata that you apply to the task to help you categorize and organize them. | 
| Task | Task. withTaskArn(String taskArn)
 The Amazon Resource Name (ARN) of the task. | 
| Task | Task. withTaskDefinitionArn(String taskDefinitionArn)
 The 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> | RunTaskResult. getTasks()
 A full description of the tasks that were run. | 
| List<Task> | StartTaskResult. getTasks()
 A full description of the tasks that were started. | 
| List<Task> | DescribeTasksResult. getTasks()
 The list of tasks. | 
| 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. | 
| RunTaskResult | RunTaskResult. withTasks(Task... tasks)
 A full description of the tasks that were run. | 
| StartTaskResult | StartTaskResult. withTasks(Task... tasks)
 A full description of the tasks that were started. | 
| DescribeTasksResult | DescribeTasksResult. withTasks(Task... tasks)
 The list of tasks. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | RunTaskResult. setTasks(Collection<Task> tasks)
 A full description of the tasks that were run. | 
| 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. | 
| RunTaskResult | RunTaskResult. withTasks(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. | 
Copyright © 2021. All rights reserved.