Interface PartitionInput.Builder

All Superinterfaces:
Buildable, CopyableBuilder<PartitionInput.Builder,PartitionInput>, SdkBuilder<PartitionInput.Builder,PartitionInput>, SdkPojo
Enclosing class:
PartitionInput

public static interface PartitionInput.Builder extends SdkPojo, CopyableBuilder<PartitionInput.Builder,PartitionInput>
  • Method Details

    • values

      The values of the partition. Although this parameter is not required by the SDK, you must specify this parameter for a valid input.

      The values for the keys for the new partition must be passed as an array of String objects that must be ordered in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise Glue will add the values to the wrong keys.

      Parameters:
      values - The values of the partition. Although this parameter is not required by the SDK, you must specify this parameter for a valid input.

      The values for the keys for the new partition must be passed as an array of String objects that must be ordered in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise Glue will add the values to the wrong keys.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • values

      PartitionInput.Builder values(String... values)

      The values of the partition. Although this parameter is not required by the SDK, you must specify this parameter for a valid input.

      The values for the keys for the new partition must be passed as an array of String objects that must be ordered in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise Glue will add the values to the wrong keys.

      Parameters:
      values - The values of the partition. Although this parameter is not required by the SDK, you must specify this parameter for a valid input.

      The values for the keys for the new partition must be passed as an array of String objects that must be ordered in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise Glue will add the values to the wrong keys.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastAccessTime

      PartitionInput.Builder lastAccessTime(Instant lastAccessTime)

      The last time at which the partition was accessed.

      Parameters:
      lastAccessTime - The last time at which the partition was accessed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storageDescriptor

      PartitionInput.Builder storageDescriptor(StorageDescriptor storageDescriptor)

      Provides information about the physical location where the partition is stored.

      Parameters:
      storageDescriptor - Provides information about the physical location where the partition is stored.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storageDescriptor

      default PartitionInput.Builder storageDescriptor(Consumer<StorageDescriptor.Builder> storageDescriptor)

      Provides information about the physical location where the partition is stored.

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

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

      Parameters:
      storageDescriptor - a consumer that will call methods on StorageDescriptor.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • parameters

      PartitionInput.Builder parameters(Map<String,String> parameters)

      These key-value pairs define partition parameters.

      Parameters:
      parameters - These key-value pairs define partition parameters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastAnalyzedTime

      PartitionInput.Builder lastAnalyzedTime(Instant lastAnalyzedTime)

      The last time at which column statistics were computed for this partition.

      Parameters:
      lastAnalyzedTime - The last time at which column statistics were computed for this partition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.