Interface DescribeTaskResponse.Builder

  • Method Details

    • completedAt

      DescribeTaskResponse.Builder completedAt(Instant completedAt)

      When the task was completed.

      Parameters:
      completedAt - When the task was completed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      DescribeTaskResponse.Builder createdAt(Instant createdAt)

      When the CreateTask operation was called.

      Parameters:
      createdAt - When the CreateTask operation was called.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      DescribeTaskResponse.Builder description(String description)

      The description provided of the task and managed devices.

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

      DescribeTaskResponse.Builder lastUpdatedAt(Instant lastUpdatedAt)

      When the state of the task was last updated.

      Parameters:
      lastUpdatedAt - When the state of the task was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The current state of the task.

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

      The current state of the task.

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

      Optional metadata that you assign to a resource. You can use tags to categorize a resource in different ways, such as by purpose, owner, or environment.

      Parameters:
      tags - Optional metadata that you assign to a resource. You can use tags to categorize a resource in different ways, such as by purpose, owner, or environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targets

      The managed devices that the task was sent to.

      Parameters:
      targets - The managed devices that the task was sent to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targets

      DescribeTaskResponse.Builder targets(String... targets)

      The managed devices that the task was sent to.

      Parameters:
      targets - The managed devices that the task was sent to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taskArn

      The Amazon Resource Name (ARN) of the task.

      Parameters:
      taskArn - The Amazon Resource Name (ARN) of the task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taskId

      The ID of the task.

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