| Package | Description |
|---|---|
| software.amazon.awssdk.services.ecs |
|
| software.amazon.awssdk.services.ecs.model |
| Modifier and Type | Method and Description |
|---|---|
default RunTaskResponse |
EcsClient.runTask(Consumer<RunTaskRequest.Builder> runTaskRequest)
Starts a new task using the specified task definition.
|
default CompletableFuture<RunTaskResponse> |
EcsAsyncClient.runTask(Consumer<RunTaskRequest.Builder> runTaskRequest)
Starts a new task using the specified task definition.
|
| Modifier and Type | Method and Description |
|---|---|
static RunTaskRequest.Builder |
RunTaskRequest.builder() |
RunTaskRequest.Builder |
RunTaskRequest.Builder.capacityProviderStrategy(CapacityProviderStrategyItem... capacityProviderStrategy)
The capacity provider strategy to use for the task.
|
RunTaskRequest.Builder |
RunTaskRequest.Builder.capacityProviderStrategy(Collection<CapacityProviderStrategyItem> capacityProviderStrategy)
The capacity provider strategy to use for the task.
|
RunTaskRequest.Builder |
RunTaskRequest.Builder.capacityProviderStrategy(Consumer<CapacityProviderStrategyItem.Builder>... capacityProviderStrategy)
The capacity provider strategy to use for the task.
|
RunTaskRequest.Builder |
RunTaskRequest.Builder.cluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster to run your task on.
|
RunTaskRequest.Builder |
RunTaskRequest.Builder.count(Integer count)
The number of instantiations of the specified task to place on your cluster.
|
RunTaskRequest.Builder |
RunTaskRequest.Builder.enableECSManagedTags(Boolean enableECSManagedTags)
Specifies whether to use Amazon ECS managed tags for the task.
|
RunTaskRequest.Builder |
RunTaskRequest.Builder.enableExecuteCommand(Boolean enableExecuteCommand)
Determines whether to use the execute command functionality for the containers in this task.
|
RunTaskRequest.Builder |
RunTaskRequest.Builder.group(String group)
The name of the task group to associate with the task.
|
RunTaskRequest.Builder |
RunTaskRequest.Builder.launchType(LaunchType launchType)
The infrastructure to run your standalone task on.
|
RunTaskRequest.Builder |
RunTaskRequest.Builder.launchType(String launchType)
The infrastructure to run your standalone task on.
|
default RunTaskRequest.Builder |
RunTaskRequest.Builder.networkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration)
The network configuration for the task.
|
RunTaskRequest.Builder |
RunTaskRequest.Builder.networkConfiguration(NetworkConfiguration networkConfiguration)
The network configuration for the task.
|
RunTaskRequest.Builder |
RunTaskRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
RunTaskRequest.Builder |
RunTaskRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default RunTaskRequest.Builder |
RunTaskRequest.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 should receive.
|
RunTaskRequest.Builder |
RunTaskRequest.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 should receive.
|
RunTaskRequest.Builder |
RunTaskRequest.Builder.placementConstraints(Collection<PlacementConstraint> placementConstraints)
An array of placement constraint objects to use for the task.
|
RunTaskRequest.Builder |
RunTaskRequest.Builder.placementConstraints(Consumer<PlacementConstraint.Builder>... placementConstraints)
An array of placement constraint objects to use for the task.
|
RunTaskRequest.Builder |
RunTaskRequest.Builder.placementConstraints(PlacementConstraint... placementConstraints)
An array of placement constraint objects to use for the task.
|
RunTaskRequest.Builder |
RunTaskRequest.Builder.placementStrategy(Collection<PlacementStrategy> placementStrategy)
The placement strategy objects to use for the task.
|
RunTaskRequest.Builder |
RunTaskRequest.Builder.placementStrategy(Consumer<PlacementStrategy.Builder>... placementStrategy)
The placement strategy objects to use for the task.
|
RunTaskRequest.Builder |
RunTaskRequest.Builder.placementStrategy(PlacementStrategy... placementStrategy)
The placement strategy objects to use for the task.
|
RunTaskRequest.Builder |
RunTaskRequest.Builder.platformVersion(String platformVersion)
The platform version the task uses.
|
RunTaskRequest.Builder |
RunTaskRequest.Builder.propagateTags(PropagateTags propagateTags)
Specifies whether to propagate the tags from the task definition to the task.
|
RunTaskRequest.Builder |
RunTaskRequest.Builder.propagateTags(String propagateTags)
Specifies whether to propagate the tags from the task definition to the task.
|
RunTaskRequest.Builder |
RunTaskRequest.Builder.referenceId(String referenceId)
The reference ID to use for the task.
|
RunTaskRequest.Builder |
RunTaskRequest.Builder.startedBy(String startedBy)
An optional tag specified when a task is started.
|
RunTaskRequest.Builder |
RunTaskRequest.Builder.tags(Collection<Tag> tags)
The metadata that you apply to the task to help you categorize and organize them.
|
RunTaskRequest.Builder |
RunTaskRequest.Builder.tags(Consumer<Tag.Builder>... tags)
The metadata that you apply to the task to help you categorize and organize them.
|
RunTaskRequest.Builder |
RunTaskRequest.Builder.tags(Tag... tags)
The metadata that you apply to the task to help you categorize and organize them.
|
RunTaskRequest.Builder |
RunTaskRequest.Builder.taskDefinition(String taskDefinition)
The
family and revision (family:revision) or full ARN of the task
definition to run. |
RunTaskRequest.Builder |
RunTaskRequest.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends RunTaskRequest.Builder> |
RunTaskRequest.serializableBuilderClass() |
Copyright © 2023. All rights reserved.