public static final class CfnPartition.PartitionInputProperty.Builder
extends java.lang.Object
CfnPartition.PartitionInputProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnPartition.PartitionInputProperty |
build()
Builds the configured instance.
|
CfnPartition.PartitionInputProperty.Builder |
parameters(java.lang.Object parameters)
Sets the value of
CfnPartition.PartitionInputProperty.getParameters() |
CfnPartition.PartitionInputProperty.Builder |
storageDescriptor(CfnPartition.StorageDescriptorProperty storageDescriptor)
Sets the value of
CfnPartition.PartitionInputProperty.getStorageDescriptor() |
CfnPartition.PartitionInputProperty.Builder |
storageDescriptor(IResolvable storageDescriptor)
Sets the value of
CfnPartition.PartitionInputProperty.getStorageDescriptor() |
CfnPartition.PartitionInputProperty.Builder |
values(java.util.List<java.lang.String> values)
Sets the value of
CfnPartition.PartitionInputProperty.getValues() |
public CfnPartition.PartitionInputProperty.Builder values(java.util.List<java.lang.String> values)
CfnPartition.PartitionInputProperty.getValues()
values
- The values of the partition. This parameter is required.
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.
this
public CfnPartition.PartitionInputProperty.Builder parameters(java.lang.Object parameters)
CfnPartition.PartitionInputProperty.getParameters()
parameters
- These key-value pairs define partition parameters.this
public CfnPartition.PartitionInputProperty.Builder storageDescriptor(IResolvable storageDescriptor)
CfnPartition.PartitionInputProperty.getStorageDescriptor()
storageDescriptor
- Provides information about the physical location where the partition is stored.this
public CfnPartition.PartitionInputProperty.Builder storageDescriptor(CfnPartition.StorageDescriptorProperty storageDescriptor)
CfnPartition.PartitionInputProperty.getStorageDescriptor()
storageDescriptor
- Provides information about the physical location where the partition is stored.this
public CfnPartition.PartitionInputProperty build()
CfnPartition.PartitionInputProperty
java.lang.NullPointerException
- if any required attribute was not provided