| Package | Description |
|---|---|
| software.amazon.awssdk.services.ecs |
|
| software.amazon.awssdk.services.ecs.model |
| Modifier and Type | Method and Description |
|---|---|
default StartTaskResponse |
EcsClient.startTask(Consumer<StartTaskRequest.Builder> startTaskRequest)
Starts a new task from the specified task definition on the specified container instance or instances.
|
default CompletableFuture<StartTaskResponse> |
EcsAsyncClient.startTask(Consumer<StartTaskRequest.Builder> startTaskRequest)
Starts a new task from the specified task definition on the specified container instance or instances.
|
| Modifier and Type | Method and Description |
|---|---|
static StartTaskRequest.Builder |
StartTaskRequest.builder() |
StartTaskRequest.Builder |
StartTaskRequest.Builder.cluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster where to start your task.
|
StartTaskRequest.Builder |
StartTaskRequest.Builder.containerInstances(Collection<String> containerInstances)
The container instance IDs or full ARN entries for the container instances where you would like to place your
task.
|
StartTaskRequest.Builder |
StartTaskRequest.Builder.containerInstances(String... containerInstances)
The container instance IDs or full ARN entries for the container instances where you would like to place your
task.
|
StartTaskRequest.Builder |
StartTaskRequest.Builder.enableECSManagedTags(Boolean enableECSManagedTags)
Specifies whether to use Amazon ECS managed tags for the task.
|
StartTaskRequest.Builder |
StartTaskRequest.Builder.enableExecuteCommand(Boolean enableExecuteCommand)
Whether or not the execute command functionality is enabled for the task.
|
StartTaskRequest.Builder |
StartTaskRequest.Builder.group(String group)
The name of the task group to associate with the task.
|
default StartTaskRequest.Builder |
StartTaskRequest.Builder.networkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration)
The VPC subnet and security group configuration for tasks that receive their own elastic network interface by
using the
awsvpc networking mode. |
StartTaskRequest.Builder |
StartTaskRequest.Builder.networkConfiguration(NetworkConfiguration networkConfiguration)
The VPC subnet and security group configuration for tasks that receive their own elastic network interface by
using the
awsvpc networking mode. |
StartTaskRequest.Builder |
StartTaskRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
StartTaskRequest.Builder |
StartTaskRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default StartTaskRequest.Builder |
StartTaskRequest.Builder.overrides(Consumer<TaskOverride.Builder> overrides)
A list of container overrides in JSON format that specify the name of a container in the specified task
definition and the overrides it receives.
|
StartTaskRequest.Builder |
StartTaskRequest.Builder.overrides(TaskOverride overrides)
A list of container overrides in JSON format that specify the name of a container in the specified task
definition and the overrides it receives.
|
StartTaskRequest.Builder |
StartTaskRequest.Builder.propagateTags(PropagateTags propagateTags)
Specifies whether to propagate the tags from the task definition or the service to the task.
|
StartTaskRequest.Builder |
StartTaskRequest.Builder.propagateTags(String propagateTags)
Specifies whether to propagate the tags from the task definition or the service to the task.
|
StartTaskRequest.Builder |
StartTaskRequest.Builder.referenceId(String referenceId)
The reference ID to use for the task.
|
StartTaskRequest.Builder |
StartTaskRequest.Builder.startedBy(String startedBy)
An optional tag specified when a task is started.
|
StartTaskRequest.Builder |
StartTaskRequest.Builder.tags(Collection<Tag> tags)
The metadata that you apply to the task to help you categorize and organize them.
|
StartTaskRequest.Builder |
StartTaskRequest.Builder.tags(Consumer<Tag.Builder>... tags)
The metadata that you apply to the task to help you categorize and organize them.
|
StartTaskRequest.Builder |
StartTaskRequest.Builder.tags(Tag... tags)
The metadata that you apply to the task to help you categorize and organize them.
|
StartTaskRequest.Builder |
StartTaskRequest.Builder.taskDefinition(String taskDefinition)
The
family and revision (family:revision) or full ARN of the task
definition to start. |
StartTaskRequest.Builder |
StartTaskRequest.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends StartTaskRequest.Builder> |
StartTaskRequest.serializableBuilderClass() |
Copyright © 2022. All rights reserved.