Interface StartTaskResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<StartTaskResponse.Builder,StartTaskResponse>, EcsResponse.Builder, SdkBuilder<StartTaskResponse.Builder,StartTaskResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
StartTaskResponse

public static interface StartTaskResponse.Builder extends EcsResponse.Builder, SdkPojo, CopyableBuilder<StartTaskResponse.Builder,StartTaskResponse>
  • Method Details

    • tasks

      A full description of the tasks that were started. Each task that was successfully placed on your container instances is described.

      Parameters:
      tasks - A full description of the tasks that were started. Each task that was successfully placed on your container instances is described.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tasks

      A full description of the tasks that were started. Each task that was successfully placed on your container instances is described.

      Parameters:
      tasks - A full description of the tasks that were started. Each task that was successfully placed on your container instances is described.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tasks

      A full description of the tasks that were started. Each task that was successfully placed on your container instances is described.

      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

      StartTaskResponse.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: