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 Details

    • 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

      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 the Task.Builder avoiding the need to create one manually via Task.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tasks(List<Task>).

      Parameters:
      tasks - a consumer that will call methods on Task.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      Any failures associated with the call.

      This is a convenience method that creates an instance of the Failure.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<Failure>).

      Parameters:
      failures - a consumer that will call methods on Failure.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: