Interface RunTaskResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<RunTaskResponse.Builder,RunTaskResponse>,EcsResponse.Builder,SdkBuilder<RunTaskResponse.Builder,RunTaskResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- RunTaskResponse
public static interface RunTaskResponse.Builder extends EcsResponse.Builder, SdkPojo, CopyableBuilder<RunTaskResponse.Builder,RunTaskResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RunTaskResponse.Builderfailures(Collection<Failure> failures)Any failures associated with the call.RunTaskResponse.Builderfailures(Consumer<Failure.Builder>... failures)Any failures associated with the call.RunTaskResponse.Builderfailures(Failure... failures)Any failures associated with the call.RunTaskResponse.Buildertasks(Collection<Task> tasks)A full description of the tasks that were run.RunTaskResponse.Buildertasks(Consumer<Task.Builder>... tasks)A full description of the tasks that were run.RunTaskResponse.Buildertasks(Task... tasks)A full description of the tasks that were run.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ecs.model.EcsResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
tasks
RunTaskResponse.Builder tasks(Collection<Task> tasks)
A full description of the tasks that were run. The tasks that were successfully placed on your cluster are described here.
- Parameters:
tasks- A full description of the tasks that were run. The tasks that were successfully placed on your cluster are described here.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
RunTaskResponse.Builder tasks(Task... tasks)
A full description of the tasks that were run. The tasks that were successfully placed on your cluster are described here.
- Parameters:
tasks- A full description of the tasks that were run. The tasks that were successfully placed on your cluster are described here.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
RunTaskResponse.Builder tasks(Consumer<Task.Builder>... tasks)
A full description of the tasks that were run. The tasks that were successfully placed on your cluster are described here.
This is a convenience method that creates an instance of theTask.Builderavoiding the need to create one manually viaTask.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tasks(List.) - Parameters:
tasks- a consumer that will call methods onTask.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tasks(java.util.Collection)
-
failures
RunTaskResponse.Builder failures(Collection<Failure> failures)
Any failures associated with the call.
- Parameters:
failures- Any failures associated with the call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
RunTaskResponse.Builder failures(Failure... failures)
Any failures associated with the call.
- Parameters:
failures- Any failures associated with the call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
RunTaskResponse.Builder failures(Consumer<Failure.Builder>... failures)
Any failures associated with the call.
This is a convenience method that creates an instance of theFailure.Builderavoiding the need to create one manually viaFailure.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#failures(List.) - Parameters:
failures- a consumer that will call methods onFailure.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#failures(java.util.Collection)
-
-