Interface TaskSummary.Builder

  • Method Details

    • taskName

      TaskSummary.Builder taskName(String taskName)

      The name of the task.

      Parameters:
      taskName - The name of the task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      TaskSummary.Builder description(String description)

      The description of the task.

      Parameters:
      description - The description of the task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taskArn

      TaskSummary.Builder taskArn(String taskArn)

      The ARN of the task.

      Parameters:
      taskArn - The ARN of the task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • version

      TaskSummary.Builder version(String version)

      The version of the task.

      Parameters:
      version - The version of the task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current lifecycle status of the task.

      Parameters:
      status - The current lifecycle status of the task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current lifecycle status of the task.

      This is a convenience method that creates an instance of the ResourceStatus.Builder avoiding the need to create one manually via ResourceStatus.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to status(ResourceStatus).

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

      TaskSummary.Builder createdAt(Instant createdAt)

      The time the task was created, in Unix epoch time.

      Parameters:
      createdAt - The time the task was created, in Unix epoch time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      TaskSummary.Builder updatedAt(Instant updatedAt)

      The time the task was last updated, in Unix epoch time.

      Parameters:
      updatedAt - The time the task was last updated, in Unix epoch time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.