Interface GetPartitionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetPartitionsResponse.Builder,,GetPartitionsResponse> GlueResponse.Builder,SdkBuilder<GetPartitionsResponse.Builder,,GetPartitionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetPartitionsResponse
public static interface GetPartitionsResponse.Builder
extends GlueResponse.Builder, SdkPojo, CopyableBuilder<GetPartitionsResponse.Builder,GetPartitionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA continuation token, if the returned list of partitions does not include the last one.partitions(Collection<Partition> partitions) A list of requested partitions.partitions(Consumer<Partition.Builder>... partitions) A list of requested partitions.partitions(Partition... partitions) A list of requested partitions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.glue.model.GlueResponse.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
-
partitions
A list of requested partitions.
- Parameters:
partitions- A list of requested partitions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitions
A list of requested partitions.
- Parameters:
partitions- A list of requested partitions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitions
A list of requested partitions.
This is a convenience method that creates an instance of thePartition.Builderavoiding the need to create one manually viaPartition.builder().When the
Consumercompletes,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:
-
nextToken
A continuation token, if the returned list of partitions does not include the last one.
- Parameters:
nextToken- A continuation token, if the returned list of partitions does not include the last one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-