public static interface GetTaskProtectionResponse.Builder extends EcsResponse.Builder, SdkPojo, CopyableBuilder<GetTaskProtectionResponse.Builder,GetTaskProtectionResponse>
| Modifier and Type | Method and Description |
|---|---|
GetTaskProtectionResponse.Builder |
failures(Collection<Failure> failures)
Any failures associated with the call.
|
GetTaskProtectionResponse.Builder |
failures(Consumer<Failure.Builder>... failures)
Any failures associated with the call.
|
GetTaskProtectionResponse.Builder |
failures(Failure... failures)
Any failures associated with the call.
|
GetTaskProtectionResponse.Builder |
protectedTasks(Collection<ProtectedTask> protectedTasks)
A list of tasks with the following information.
|
GetTaskProtectionResponse.Builder |
protectedTasks(Consumer<ProtectedTask.Builder>... protectedTasks)
A list of tasks with the following information.
|
GetTaskProtectionResponse.Builder |
protectedTasks(ProtectedTask... protectedTasks)
A list of tasks with the following information.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetTaskProtectionResponse.Builder protectedTasks(Collection<ProtectedTask> protectedTasks)
A list of tasks with the following information.
taskArn: The task ARN.
protectionEnabled: The protection status of the task. If scale-in protection is enabled for a
task, the value is true. Otherwise, it is false.
expirationDate: The epoch time when protection for the task will expire.
protectedTasks - A list of tasks with the following information.
taskArn: The task ARN.
protectionEnabled: The protection status of the task. If scale-in protection is enabled
for a task, the value is true. Otherwise, it is false.
expirationDate: The epoch time when protection for the task will expire.
GetTaskProtectionResponse.Builder protectedTasks(ProtectedTask... protectedTasks)
A list of tasks with the following information.
taskArn: The task ARN.
protectionEnabled: The protection status of the task. If scale-in protection is enabled for a
task, the value is true. Otherwise, it is false.
expirationDate: The epoch time when protection for the task will expire.
protectedTasks - A list of tasks with the following information.
taskArn: The task ARN.
protectionEnabled: The protection status of the task. If scale-in protection is enabled
for a task, the value is true. Otherwise, it is false.
expirationDate: The epoch time when protection for the task will expire.
GetTaskProtectionResponse.Builder protectedTasks(Consumer<ProtectedTask.Builder>... protectedTasks)
A list of tasks with the following information.
taskArn: The task ARN.
protectionEnabled: The protection status of the task. If scale-in protection is enabled for a
task, the value is true. Otherwise, it is false.
expirationDate: The epoch time when protection for the task will expire.
ProtectedTask.Builder avoiding the need to create one
manually via ProtectedTask.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #protectedTasks(List.
protectedTasks - a consumer that will call methods on
ProtectedTask.Builder#protectedTasks(java.util.Collection) GetTaskProtectionResponse.Builder failures(Collection<Failure> failures)
Any failures associated with the call.
failures - Any failures associated with the call.GetTaskProtectionResponse.Builder failures(Failure... failures)
Any failures associated with the call.
failures - Any failures associated with the call.GetTaskProtectionResponse.Builder failures(Consumer<Failure.Builder>... failures)
Any failures associated with the call.
This is a convenience method that creates an instance of theFailure.Builder avoiding the need to create one manually
via Failure.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #failures(List.
failures - a consumer that will call methods on Failure.Builder#failures(java.util.Collection) Copyright © 2023. All rights reserved.