Interface ListWorkersResponse.Builder

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

public static interface ListWorkersResponse.Builder extends DeadlineResponse.Builder, SdkPojo, CopyableBuilder<ListWorkersResponse.Builder,ListWorkersResponse>
  • Method Details

    • nextToken

      ListWorkersResponse.Builder nextToken(String nextToken)

      If Deadline Cloud returns nextToken, then there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.

      Parameters:
      nextToken - If Deadline Cloud returns nextToken, then there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workers

      The workers on the list.

      Parameters:
      workers - The workers on the list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workers

      The workers on the list.

      Parameters:
      workers - The workers on the list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workers

      The workers on the list.

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

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

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