Interface GetWorkUnitsResponse.Builder

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

public static interface GetWorkUnitsResponse.Builder extends LakeFormationResponse.Builder, SdkPojo, CopyableBuilder<GetWorkUnitsResponse.Builder,GetWorkUnitsResponse>
  • Method Details

    • nextToken

      GetWorkUnitsResponse.Builder nextToken(String nextToken)

      A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.

      Parameters:
      nextToken - A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queryId

      The ID of the plan query operation.

      Parameters:
      queryId - The ID of the plan query operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workUnitRanges

      GetWorkUnitsResponse.Builder workUnitRanges(Collection<WorkUnitRange> workUnitRanges)

      A WorkUnitRangeList object that specifies the valid range of work unit IDs for querying the execution service.

      Parameters:
      workUnitRanges - A WorkUnitRangeList object that specifies the valid range of work unit IDs for querying the execution service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workUnitRanges

      GetWorkUnitsResponse.Builder workUnitRanges(WorkUnitRange... workUnitRanges)

      A WorkUnitRangeList object that specifies the valid range of work unit IDs for querying the execution service.

      Parameters:
      workUnitRanges - A WorkUnitRangeList object that specifies the valid range of work unit IDs for querying the execution service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workUnitRanges

      GetWorkUnitsResponse.Builder workUnitRanges(Consumer<WorkUnitRange.Builder>... workUnitRanges)

      A WorkUnitRangeList object that specifies the valid range of work unit IDs for querying the execution service.

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

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

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