Interface UpdatePartitionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdatePartitionRequest.Builder,UpdatePartitionRequest>,GlueRequest.Builder,SdkBuilder<UpdatePartitionRequest.Builder,UpdatePartitionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdatePartitionRequest
public static interface UpdatePartitionRequest.Builder extends GlueRequest.Builder, SdkPojo, CopyableBuilder<UpdatePartitionRequest.Builder,UpdatePartitionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdatePartitionRequest.BuildercatalogId(String catalogId)The ID of the Data Catalog where the partition to be updated resides.UpdatePartitionRequest.BuilderdatabaseName(String databaseName)The name of the catalog database in which the table in question resides.UpdatePartitionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdatePartitionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default UpdatePartitionRequest.BuilderpartitionInput(Consumer<PartitionInput.Builder> partitionInput)The new partition object to update the partition to.UpdatePartitionRequest.BuilderpartitionInput(PartitionInput partitionInput)The new partition object to update the partition to.UpdatePartitionRequest.BuilderpartitionValueList(String... partitionValueList)List of partition key values that define the partition to update.UpdatePartitionRequest.BuilderpartitionValueList(Collection<String> partitionValueList)List of partition key values that define the partition to update.UpdatePartitionRequest.BuildertableName(String tableName)The name of the table in which the partition to be updated is located.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.glue.model.GlueRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
catalogId
UpdatePartitionRequest.Builder catalogId(String 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
UpdatePartitionRequest.Builder databaseName(String 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
UpdatePartitionRequest.Builder tableName(String 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
UpdatePartitionRequest.Builder partitionValueList(Collection<String> 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
UpdatePartitionRequest.Builder partitionValueList(String... 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
UpdatePartitionRequest.Builder partitionInput(PartitionInput 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:
partitionInput(PartitionInput)
-
overrideConfiguration
UpdatePartitionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdatePartitionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-