Interface BatchGetPartitionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchGetPartitionResponse.Builder,
,BatchGetPartitionResponse> GlueResponse.Builder
,SdkBuilder<BatchGetPartitionResponse.Builder,
,BatchGetPartitionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchGetPartitionResponse
public static interface BatchGetPartitionResponse.Builder
extends GlueResponse.Builder, SdkPojo, CopyableBuilder<BatchGetPartitionResponse.Builder,BatchGetPartitionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionpartitions
(Collection<Partition> partitions) A list of the requested partitions.partitions
(Consumer<Partition.Builder>... partitions) A list of the requested partitions.partitions
(Partition... partitions) A list of the requested partitions.unprocessedKeys
(Collection<PartitionValueList> unprocessedKeys) A list of the partition values in the request for which partitions were not returned.unprocessedKeys
(Consumer<PartitionValueList.Builder>... unprocessedKeys) A list of the partition values in the request for which partitions were not returned.unprocessedKeys
(PartitionValueList... unprocessedKeys) A list of the partition values in the request for which partitions were not returned.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.glue.model.GlueResponse.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 Details
-
partitions
A list of the requested partitions.
- Parameters:
partitions
- A list of the requested partitions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitions
A list of the requested partitions.
- Parameters:
partitions
- A list of the requested partitions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitions
A list of the requested partitions.
This is a convenience method that creates an instance of thePartition.Builder
avoiding the need to create one manually viaPartition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topartitions(List<Partition>)
.- Parameters:
partitions
- a consumer that will call methods onPartition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
unprocessedKeys
A list of the partition values in the request for which partitions were not returned.
- Parameters:
unprocessedKeys
- A list of the partition values in the request for which partitions were not returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unprocessedKeys
A list of the partition values in the request for which partitions were not returned.
- Parameters:
unprocessedKeys
- A list of the partition values in the request for which partitions were not returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unprocessedKeys
BatchGetPartitionResponse.Builder unprocessedKeys(Consumer<PartitionValueList.Builder>... unprocessedKeys) A list of the partition values in the request for which partitions were not returned.
This is a convenience method that creates an instance of thePartitionValueList.Builder
avoiding the need to create one manually viaPartitionValueList.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tounprocessedKeys(List<PartitionValueList>)
.- Parameters:
unprocessedKeys
- a consumer that will call methods onPartitionValueList.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-