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 UpdateTaskProtectionResponseEcsClient. 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.BuilderUpdateTaskProtectionRequest. builder()UpdateTaskProtectionRequest.BuilderUpdateTaskProtectionRequest.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.BuilderUpdateTaskProtectionRequest.Builder. expiresInMinutes(Integer expiresInMinutes)If you setprotectionEnabledtotrue, you can specify the duration for task protection in minutes.UpdateTaskProtectionRequest.BuilderUpdateTaskProtectionRequest.Builder. overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateTaskProtectionRequest.BuilderUpdateTaskProtectionRequest.Builder. overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateTaskProtectionRequest.BuilderUpdateTaskProtectionRequest.Builder. protectionEnabled(Boolean protectionEnabled)Specifytrueto mark a task for protection andfalseto unset protection, making it eligible for termination.UpdateTaskProtectionRequest.BuilderUpdateTaskProtectionRequest.Builder. tasks(String... tasks)A list of up to 10 task IDs or full ARN entries.UpdateTaskProtectionRequest.BuilderUpdateTaskProtectionRequest.Builder. tasks(Collection<String> tasks)A list of up to 10 task IDs or full ARN entries.UpdateTaskProtectionRequest.BuilderUpdateTaskProtectionRequest. 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()
-