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 Details

    • 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 Values property 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 Values property 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 Values property can't be changed. If you want to change the partition key values for a partition, delete and recreate the partition.

      This is a convenience method that creates an instance of the PartitionInput.Builder avoiding the need to create one manually via PartitionInput.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to partitionInput(PartitionInput).

      Parameters:
      partitionInput - a consumer that will call methods on PartitionInput.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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.