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
Modifier and TypeMethodDescriptionA continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.The ID of the plan query operation.workUnitRanges(Collection<WorkUnitRange> workUnitRanges) AWorkUnitRangeListobject that specifies the valid range of work unit IDs for querying the execution service.workUnitRanges(Consumer<WorkUnitRange.Builder>... workUnitRanges) AWorkUnitRangeListobject that specifies the valid range of work unit IDs for querying the execution service.workUnitRanges(WorkUnitRange... workUnitRanges) AWorkUnitRangeListobject that specifies the valid range of work unit IDs for querying the execution service.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lakeformation.model.LakeFormationResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
A
WorkUnitRangeListobject that specifies the valid range of work unit IDs for querying the execution service.- Parameters:
workUnitRanges- AWorkUnitRangeListobject 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
A
WorkUnitRangeListobject that specifies the valid range of work unit IDs for querying the execution service.- Parameters:
workUnitRanges- AWorkUnitRangeListobject 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
A
This is a convenience method that creates an instance of theWorkUnitRangeListobject that specifies the valid range of work unit IDs for querying the execution service.WorkUnitRange.Builderavoiding the need to create one manually viaWorkUnitRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworkUnitRanges(List<WorkUnitRange>).- 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:
-