Uses of Interface
software.amazon.awssdk.services.ecs.model.UpdateTaskProtectionRequest.Builder
-
Packages that use UpdateTaskProtectionRequest.Builder Package Description software.amazon.awssdk.services.ecs Amazon Elastic Container Service software.amazon.awssdk.services.ecs.model -
-
Uses of UpdateTaskProtectionRequest.Builder in software.amazon.awssdk.services.ecs
Method parameters in software.amazon.awssdk.services.ecs with type arguments of type UpdateTaskProtectionRequest.Builder Modifier and Type Method Description default CompletableFuture<UpdateTaskProtectionResponse>
EcsAsyncClient. updateTaskProtection(Consumer<UpdateTaskProtectionRequest.Builder> updateTaskProtectionRequest)
Updates the protection status of a task.default UpdateTaskProtectionResponse
EcsClient. updateTaskProtection(Consumer<UpdateTaskProtectionRequest.Builder> updateTaskProtectionRequest)
Updates the protection status of a task. -
Uses of UpdateTaskProtectionRequest.Builder in software.amazon.awssdk.services.ecs.model
Methods in software.amazon.awssdk.services.ecs.model that return UpdateTaskProtectionRequest.Builder Modifier and Type Method Description static UpdateTaskProtectionRequest.Builder
UpdateTaskProtectionRequest. builder()
UpdateTaskProtectionRequest.Builder
UpdateTaskProtectionRequest.Builder. cluster(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.Builder
UpdateTaskProtectionRequest.Builder. expiresInMinutes(Integer expiresInMinutes)
If you setprotectionEnabled
totrue
, you can specify the duration for task protection in minutes.UpdateTaskProtectionRequest.Builder
UpdateTaskProtectionRequest.Builder. overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
UpdateTaskProtectionRequest.Builder
UpdateTaskProtectionRequest.Builder. overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
UpdateTaskProtectionRequest.Builder
UpdateTaskProtectionRequest.Builder. protectionEnabled(Boolean protectionEnabled)
Specifytrue
to mark a task for protection andfalse
to unset protection, making it eligible for termination.UpdateTaskProtectionRequest.Builder
UpdateTaskProtectionRequest.Builder. tasks(String... tasks)
A list of up to 10 task IDs or full ARN entries.UpdateTaskProtectionRequest.Builder
UpdateTaskProtectionRequest.Builder. tasks(Collection<String> tasks)
A list of up to 10 task IDs or full ARN entries.UpdateTaskProtectionRequest.Builder
UpdateTaskProtectionRequest. toBuilder()
Methods in software.amazon.awssdk.services.ecs.model that return types with arguments of type UpdateTaskProtectionRequest.Builder Modifier and Type Method Description static Class<? extends UpdateTaskProtectionRequest.Builder>
UpdateTaskProtectionRequest. serializableBuilderClass()
-