Interface UpdatePartitionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdatePartitionRequest.Builder,,UpdatePartitionRequest> GlueRequest.Builder,SdkBuilder<UpdatePartitionRequest.Builder,,UpdatePartitionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdatePartitionRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the Data Catalog where the partition to be updated resides.databaseName(String databaseName) The name of the catalog database in which the table in question resides.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdatePartitionRequest.BuilderpartitionInput(Consumer<PartitionInput.Builder> partitionInput) The new partition object to update the partition to.partitionInput(PartitionInput partitionInput) The new partition object to update the partition to.partitionValueList(String... partitionValueList) List of partition key values that define the partition to update.partitionValueList(Collection<String> partitionValueList) List of partition key values that define the partition to update.The name of the table in which the partition to be updated is located.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 partition to be updated resides. If none is provided, the Amazon Web Services account ID is used by default.
- Parameters:
catalogId- The ID of the Data Catalog where the partition to be updated resides. If none is provided, 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 in which the table in question resides.
- Parameters:
databaseName- The name of the catalog database in which the table in question resides.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableName
The name of the table in which the partition to be updated is located.
- Parameters:
tableName- The name of the table in which the partition to be updated is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionValueList
List of partition key values that define the partition to update.
- Parameters:
partitionValueList- List of partition key values that define the partition to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionValueList
List of partition key values that define the partition to update.
- Parameters:
partitionValueList- List of partition key values that define the partition to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionInput
The new partition object to update the partition to.
The
Valuesproperty can't be changed. If you want to change the partition key values for a partition, delete and recreate the partition.- Parameters:
partitionInput- The new partition object to update the partition to.The
Valuesproperty can't be changed. If you want to change the partition key values for a partition, delete and recreate the partition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionInput
default UpdatePartitionRequest.Builder partitionInput(Consumer<PartitionInput.Builder> partitionInput) The new partition object to update the partition to.
The
This is a convenience method that creates an instance of theValuesproperty can't be changed. If you want to change the partition key values for a partition, delete and recreate the partition.PartitionInput.Builderavoiding the need to create one manually viaPartitionInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topartitionInput(PartitionInput).- Parameters:
partitionInput- a consumer that will call methods onPartitionInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdatePartitionRequest.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
UpdatePartitionRequest.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.
-