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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.GetWorkUnitsResponse.Builder
queryId(String queryId)
The ID of the plan query operation.GetWorkUnitsResponse.Builder
workUnitRanges(Collection<WorkUnitRange> workUnitRanges)
AWorkUnitRangeList
object that specifies the valid range of work unit IDs for querying the execution service.GetWorkUnitsResponse.Builder
workUnitRanges(Consumer<WorkUnitRange.Builder>... workUnitRanges)
AWorkUnitRangeList
object that specifies the valid range of work unit IDs for querying the execution service.GetWorkUnitsResponse.Builder
workUnitRanges(WorkUnitRange... workUnitRanges)
AWorkUnitRangeList
object that specifies the valid range of work unit IDs for querying the execution service.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lakeformation.model.LakeFormationResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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
GetWorkUnitsResponse.Builder queryId(String 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
- AWorkUnitRangeList
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
- AWorkUnitRangeList
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
This is a convenience method that creates an instance of theWorkUnitRangeList
object that specifies the valid range of work unit IDs for querying the execution service.WorkUnitRange.Builder
avoiding the need to create one manually viaWorkUnitRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#workUnitRanges(List
.) - Parameters:
workUnitRanges
- a consumer that will call methods onWorkUnitRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#workUnitRanges(java.util.Collection
)
-
-