Package | Description |
---|---|
com.amazonaws.services.ecs |
|
com.amazonaws.services.ecs.model |
Modifier and Type | Method and Description |
---|---|
Future<UpdateTaskProtectionResult> |
AbstractAmazonECSAsync.updateTaskProtectionAsync(UpdateTaskProtectionRequest request,
AsyncHandler<UpdateTaskProtectionRequest,UpdateTaskProtectionResult> asyncHandler) |
Future<UpdateTaskProtectionResult> |
AmazonECSAsync.updateTaskProtectionAsync(UpdateTaskProtectionRequest updateTaskProtectionRequest,
AsyncHandler<UpdateTaskProtectionRequest,UpdateTaskProtectionResult> asyncHandler)
Updates the protection status of a task.
|
Future<UpdateTaskProtectionResult> |
AmazonECSAsyncClient.updateTaskProtectionAsync(UpdateTaskProtectionRequest request,
AsyncHandler<UpdateTaskProtectionRequest,UpdateTaskProtectionResult> asyncHandler) |
Modifier and Type | Method and Description |
---|---|
UpdateTaskProtectionRequest |
UpdateTaskProtectionRequest.clone() |
UpdateTaskProtectionRequest |
UpdateTaskProtectionRequest.withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task sets exist
in.
|
UpdateTaskProtectionRequest |
UpdateTaskProtectionRequest.withExpiresInMinutes(Integer expiresInMinutes)
If you set
protectionEnabled to true , you can specify the duration for task protection
in minutes. |
UpdateTaskProtectionRequest |
UpdateTaskProtectionRequest.withProtectionEnabled(Boolean protectionEnabled)
Specify
true to mark a task for protection and false to unset protection, making it
eligible for termination. |
UpdateTaskProtectionRequest |
UpdateTaskProtectionRequest.withTasks(Collection<String> tasks)
A list of up to 10 task IDs or full ARN entries.
|
UpdateTaskProtectionRequest |
UpdateTaskProtectionRequest.withTasks(String... tasks)
A list of up to 10 task IDs or full ARN entries.
|
Copyright © 2023. All rights reserved.