public static interface PartitionInput.Builder extends SdkPojo, CopyableBuilder<PartitionInput.Builder,PartitionInput>
Modifier and Type | Method and Description |
---|---|
PartitionInput.Builder |
lastAccessTime(Instant lastAccessTime)
The last time at which the partition was accessed.
|
PartitionInput.Builder |
lastAnalyzedTime(Instant lastAnalyzedTime)
The last time at which column statistics were computed for this partition.
|
PartitionInput.Builder |
parameters(Map<String,String> parameters)
These key-value pairs define partition parameters.
|
default PartitionInput.Builder |
storageDescriptor(Consumer<StorageDescriptor.Builder> storageDescriptor)
Provides information about the physical location where the partition is stored.
|
PartitionInput.Builder |
storageDescriptor(StorageDescriptor storageDescriptor)
Provides information about the physical location where the partition is stored.
|
PartitionInput.Builder |
values(Collection<String> values)
The values of the partition.
|
PartitionInput.Builder |
values(String... values)
The values of the partition.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
PartitionInput.Builder values(Collection<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 AWS Glue will add the values to the wrong keys.
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 AWS Glue will add the values to the wrong keys.
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 AWS Glue will add the values to the wrong keys.
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 AWS Glue will add the values to the wrong keys.
PartitionInput.Builder lastAccessTime(Instant lastAccessTime)
The last time at which the partition was accessed.
lastAccessTime
- The last time at which the partition was accessed.PartitionInput.Builder storageDescriptor(StorageDescriptor storageDescriptor)
Provides information about the physical location where the partition is stored.
storageDescriptor
- Provides information about the physical location where the partition is stored.default PartitionInput.Builder storageDescriptor(Consumer<StorageDescriptor.Builder> storageDescriptor)
Provides information about the physical location where the partition is stored.
This is a convenience that creates an instance of theStorageDescriptor.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)
.storageDescriptor
- a consumer that will call methods on StorageDescriptor.Builder
storageDescriptor(StorageDescriptor)
PartitionInput.Builder parameters(Map<String,String> parameters)
These key-value pairs define partition parameters.
parameters
- These key-value pairs define partition parameters.PartitionInput.Builder lastAnalyzedTime(Instant lastAnalyzedTime)
The last time at which column statistics were computed for this partition.
lastAnalyzedTime
- The last time at which column statistics were computed for this partition.Copyright © 2020. All rights reserved.