Interface BatchGetPartitionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchGetPartitionRequest.Builder,,BatchGetPartitionRequest> GlueRequest.Builder,SdkBuilder<BatchGetPartitionRequest.Builder,,BatchGetPartitionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchGetPartitionRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault BatchGetPartitionRequest.BuilderauditContext(Consumer<AuditContext.Builder> auditContext) Sets the value of the AuditContext property for this object.auditContext(AuditContext auditContext) Sets the value of the AuditContext property for this object.The 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.default BatchGetPartitionRequest.BuilderquerySessionContext(Consumer<QuerySessionContext.Builder> querySessionContext) Sets the value of the QuerySessionContext property for this object.querySessionContext(QuerySessionContext querySessionContext) Sets the value of the QuerySessionContext property for this object.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, sdkFieldNameToField, 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:
-
auditContext
Sets the value of the AuditContext property for this object.- Parameters:
auditContext- The new value for the AuditContext property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
auditContext
Sets the value of the AuditContext property for this object. This is a convenience method that creates an instance of theAuditContext.Builderavoiding the need to create one manually viaAuditContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauditContext(AuditContext).- Parameters:
auditContext- a consumer that will call methods onAuditContext.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
querySessionContext
Sets the value of the QuerySessionContext property for this object.- Parameters:
querySessionContext- The new value for the QuerySessionContext property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
querySessionContext
default BatchGetPartitionRequest.Builder querySessionContext(Consumer<QuerySessionContext.Builder> querySessionContext) Sets the value of the QuerySessionContext property for this object. This is a convenience method that creates an instance of theQuerySessionContext.Builderavoiding the need to create one manually viaQuerySessionContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toquerySessionContext(QuerySessionContext).- Parameters:
querySessionContext- a consumer that will call methods onQuerySessionContext.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.
-