Interface BatchGetPartitionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchGetPartitionRequest.Builder,,BatchGetPartitionRequest> GlueRequest.Builder,SdkBuilder<BatchGetPartitionRequest.Builder,,BatchGetPartitionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchGetPartitionRequest
public static interface BatchGetPartitionRequest.Builder
extends GlueRequest.Builder, SdkPojo, CopyableBuilder<BatchGetPartitionRequest.Builder,BatchGetPartitionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the Data Catalog where the partitions in question reside.databaseName(String databaseName) The name of the catalog database where the partitions reside.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.partitionsToGet(Collection<PartitionValueList> partitionsToGet) A list of partition values identifying the partitions to retrieve.partitionsToGet(Consumer<PartitionValueList.Builder>... partitionsToGet) A list of partition values identifying the partitions to retrieve.partitionsToGet(PartitionValueList... partitionsToGet) A list of partition values identifying the partitions to retrieve.The name of the partitions' table.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.glue.model.GlueRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
catalogId
The ID of the Data Catalog where the partitions in question reside. If none is supplied, the Amazon Web Services account ID is used by default.
- Parameters:
catalogId- The ID of the Data Catalog where the partitions in question reside. If none is supplied, the Amazon Web Services account ID is used by default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseName
The name of the catalog database where the partitions reside.
- Parameters:
databaseName- The name of the catalog database where the partitions reside.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableName
The name of the partitions' table.
- Parameters:
tableName- The name of the partitions' table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionsToGet
A list of partition values identifying the partitions to retrieve.
- Parameters:
partitionsToGet- A list of partition values identifying the partitions to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionsToGet
A list of partition values identifying the partitions to retrieve.
- Parameters:
partitionsToGet- A list of partition values identifying the partitions to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionsToGet
BatchGetPartitionRequest.Builder partitionsToGet(Consumer<PartitionValueList.Builder>... partitionsToGet) A list of partition values identifying the partitions to retrieve.
This is a convenience method that creates an instance of thePartitionValueList.Builderavoiding the need to create one manually viaPartitionValueList.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topartitionsToGet(List<PartitionValueList>).- Parameters:
partitionsToGet- 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:
-
overrideConfiguration
BatchGetPartitionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchGetPartitionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-