| Package | Description |
|---|---|
| software.amazon.awssdk.services.ecs.model |
| Modifier and Type | Method and Description |
|---|---|
Task.Builder |
Task.Builder.attachments(Attachment... attachments)
The Elastic Network Adapter associated with the task if the task uses the
awsvpc network mode. |
Task.Builder |
Task.Builder.attachments(Collection<Attachment> attachments)
The Elastic Network Adapter associated with the task if the task uses the
awsvpc network mode. |
Task.Builder |
Task.Builder.attachments(Consumer<Attachment.Builder>... attachments)
The Elastic Network Adapter associated with the task if the task uses the
awsvpc network mode. |
Task.Builder |
Task.Builder.attributes(Attribute... attributes)
The attributes of the task
|
Task.Builder |
Task.Builder.attributes(Collection<Attribute> attributes)
The attributes of the task
|
Task.Builder |
Task.Builder.attributes(Consumer<Attribute.Builder>... attributes)
The attributes of the task
|
Task.Builder |
Task.Builder.availabilityZone(String availabilityZone)
The availability zone of the task.
|
static Task.Builder |
Task.builder() |
Task.Builder |
Task.Builder.capacityProviderName(String capacityProviderName)
The capacity provider associated with the task.
|
Task.Builder |
Task.Builder.clusterArn(String clusterArn)
The ARN of the cluster that hosts the task.
|
Task.Builder |
Task.Builder.connectivity(Connectivity connectivity)
The connectivity status of a task.
|
Task.Builder |
Task.Builder.connectivity(String connectivity)
The connectivity status of a task.
|
Task.Builder |
Task.Builder.connectivityAt(Instant connectivityAt)
The Unix timestamp for when the task last went into
CONNECTED status. |
Task.Builder |
Task.Builder.containerInstanceArn(String containerInstanceArn)
The ARN of the container instances that host the task.
|
Task.Builder |
Task.Builder.containers(Collection<Container> containers)
The containers associated with the task.
|
Task.Builder |
Task.Builder.containers(Consumer<Container.Builder>... containers)
The containers associated with the task.
|
Task.Builder |
Task.Builder.containers(Container... containers)
The containers associated with the task.
|
Task.Builder |
Task.Builder.cpu(String cpu)
The number of CPU units used by the task as expressed in a task definition.
|
Task.Builder |
Task.Builder.createdAt(Instant createdAt)
The Unix timestamp for when the task was created (the task entered the
PENDING state). |
Task.Builder |
Task.Builder.desiredStatus(String desiredStatus)
The desired status of the task.
|
Task.Builder |
Task.Builder.enableExecuteCommand(Boolean enableExecuteCommand)
Whether or not execute command functionality is enabled for this task.
|
default Task.Builder |
Task.Builder.ephemeralStorage(Consumer<EphemeralStorage.Builder> ephemeralStorage)
The ephemeral storage settings for the task.
|
Task.Builder |
Task.Builder.ephemeralStorage(EphemeralStorage ephemeralStorage)
The ephemeral storage settings for the task.
|
Task.Builder |
Task.Builder.executionStoppedAt(Instant executionStoppedAt)
The Unix timestamp for when the task execution stopped.
|
Task.Builder |
Task.Builder.group(String group)
The name of the task group associated with the task.
|
Task.Builder |
Task.Builder.healthStatus(HealthStatus healthStatus)
The health status for the task, which is determined by the health of the essential containers in the task.
|
Task.Builder |
Task.Builder.healthStatus(String healthStatus)
The health status for the task, which is determined by the health of the essential containers in the task.
|
Task.Builder |
Task.Builder.inferenceAccelerators(Collection<InferenceAccelerator> inferenceAccelerators)
The Elastic Inference accelerator associated with the task.
|
Task.Builder |
Task.Builder.inferenceAccelerators(Consumer<InferenceAccelerator.Builder>... inferenceAccelerators)
The Elastic Inference accelerator associated with the task.
|
Task.Builder |
Task.Builder.inferenceAccelerators(InferenceAccelerator... inferenceAccelerators)
The Elastic Inference accelerator associated with the task.
|
Task.Builder |
Task.Builder.lastStatus(String lastStatus)
The last known status of the task.
|
Task.Builder |
Task.Builder.launchType(LaunchType launchType)
The infrastructure on which your task is running.
|
Task.Builder |
Task.Builder.launchType(String launchType)
The infrastructure on which your task is running.
|
Task.Builder |
Task.Builder.memory(String memory)
The amount of memory (in MiB) used by the task as expressed in a task definition.
|
default Task.Builder |
Task.Builder.overrides(Consumer<TaskOverride.Builder> overrides)
One or more container overrides.
|
Task.Builder |
Task.Builder.overrides(TaskOverride overrides)
One or more container overrides.
|
Task.Builder |
Task.Builder.platformVersion(String platformVersion)
The platform version on which your task is running.
|
Task.Builder |
Task.Builder.pullStartedAt(Instant pullStartedAt)
The Unix timestamp for when the container image pull began.
|
Task.Builder |
Task.Builder.pullStoppedAt(Instant pullStoppedAt)
The Unix timestamp for when the container image pull completed.
|
Task.Builder |
Task.Builder.startedAt(Instant startedAt)
The Unix timestamp for when the task started (the task transitioned from the
PENDING state to
the RUNNING state). |
Task.Builder |
Task.Builder.startedBy(String startedBy)
The tag specified when a task is started.
|
Task.Builder |
Task.Builder.stopCode(String stopCode)
The stop code indicating why a task was stopped.
|
Task.Builder |
Task.Builder.stopCode(TaskStopCode stopCode)
The stop code indicating why a task was stopped.
|
Task.Builder |
Task.Builder.stoppedAt(Instant stoppedAt)
The Unix timestamp for when the task was stopped (the task transitioned from the
RUNNING state
to the STOPPED state). |
Task.Builder |
Task.Builder.stoppedReason(String stoppedReason)
The reason that the task was stopped.
|
Task.Builder |
Task.Builder.stoppingAt(Instant stoppingAt)
The Unix timestamp for when the task stops (transitions from the
RUNNING state to
STOPPED). |
Task.Builder |
Task.Builder.tags(Collection<Tag> tags)
The metadata that you apply to the task to help you categorize and organize them.
|
Task.Builder |
Task.Builder.tags(Consumer<Tag.Builder>... tags)
The metadata that you apply to the task to help you categorize and organize them.
|
Task.Builder |
Task.Builder.tags(Tag... tags)
The metadata that you apply to the task to help you categorize and organize them.
|
Task.Builder |
Task.Builder.taskArn(String taskArn)
The Amazon Resource Name (ARN) of the task.
|
Task.Builder |
Task.Builder.taskDefinitionArn(String taskDefinitionArn)
The ARN of the task definition that creates the task.
|
Task.Builder |
Task.toBuilder() |
Task.Builder |
Task.Builder.version(Long version)
The version counter for the task.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends Task.Builder> |
Task.serializableBuilderClass() |
| Modifier and Type | Method and Description |
|---|---|
default StopTaskResponse.Builder |
StopTaskResponse.Builder.task(Consumer<Task.Builder> task)
The task that was stopped.
|
Copyright © 2021. All rights reserved.