public static final class CfnPartition.StorageDescriptorProperty.Builder
extends java.lang.Object
CfnPartition.StorageDescriptorProperty
Constructor and Description |
---|
Builder() |
public CfnPartition.StorageDescriptorProperty.Builder bucketColumns(java.util.List<java.lang.String> bucketColumns)
CfnPartition.StorageDescriptorProperty.getBucketColumns()
bucketColumns
- A list of reducer grouping columns, clustering columns, and bucketing columns in the table.this
public CfnPartition.StorageDescriptorProperty.Builder columns(IResolvable columns)
CfnPartition.StorageDescriptorProperty.getColumns()
columns
- A list of the `Columns` in the table.this
public CfnPartition.StorageDescriptorProperty.Builder columns(java.util.List<? extends java.lang.Object> columns)
CfnPartition.StorageDescriptorProperty.getColumns()
columns
- A list of the `Columns` in the table.this
public CfnPartition.StorageDescriptorProperty.Builder compressed(java.lang.Boolean compressed)
CfnPartition.StorageDescriptorProperty.getCompressed()
compressed
- `True` if the data in the table is compressed, or `False` if not.this
public CfnPartition.StorageDescriptorProperty.Builder compressed(IResolvable compressed)
CfnPartition.StorageDescriptorProperty.getCompressed()
compressed
- `True` if the data in the table is compressed, or `False` if not.this
public CfnPartition.StorageDescriptorProperty.Builder inputFormat(java.lang.String inputFormat)
CfnPartition.StorageDescriptorProperty.getInputFormat()
inputFormat
- The input format: `SequenceFileInputFormat` (binary), or `TextInputFormat` , or a custom format.this
public CfnPartition.StorageDescriptorProperty.Builder location(java.lang.String location)
CfnPartition.StorageDescriptorProperty.getLocation()
location
- The physical location of the table.
By default, this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.this
public CfnPartition.StorageDescriptorProperty.Builder numberOfBuckets(java.lang.Number numberOfBuckets)
CfnPartition.StorageDescriptorProperty.getNumberOfBuckets()
numberOfBuckets
- The number of buckets.
You must specify this property if the partition contains any dimension columns.this
public CfnPartition.StorageDescriptorProperty.Builder outputFormat(java.lang.String outputFormat)
CfnPartition.StorageDescriptorProperty.getOutputFormat()
outputFormat
- The output format: `SequenceFileOutputFormat` (binary), or `IgnoreKeyTextOutputFormat` , or a custom format.this
public CfnPartition.StorageDescriptorProperty.Builder parameters(java.lang.Object parameters)
CfnPartition.StorageDescriptorProperty.getParameters()
parameters
- The user-supplied properties in key-value form.this
public CfnPartition.StorageDescriptorProperty.Builder schemaReference(IResolvable schemaReference)
CfnPartition.StorageDescriptorProperty.getSchemaReference()
schemaReference
- An object that references a schema stored in the AWS Glue Schema Registry.this
public CfnPartition.StorageDescriptorProperty.Builder schemaReference(CfnPartition.SchemaReferenceProperty schemaReference)
CfnPartition.StorageDescriptorProperty.getSchemaReference()
schemaReference
- An object that references a schema stored in the AWS Glue Schema Registry.this
public CfnPartition.StorageDescriptorProperty.Builder serdeInfo(IResolvable serdeInfo)
CfnPartition.StorageDescriptorProperty.getSerdeInfo()
serdeInfo
- The serialization/deserialization (SerDe) information.this
public CfnPartition.StorageDescriptorProperty.Builder serdeInfo(CfnPartition.SerdeInfoProperty serdeInfo)
CfnPartition.StorageDescriptorProperty.getSerdeInfo()
serdeInfo
- The serialization/deserialization (SerDe) information.this
public CfnPartition.StorageDescriptorProperty.Builder skewedInfo(IResolvable skewedInfo)
CfnPartition.StorageDescriptorProperty.getSkewedInfo()
skewedInfo
- The information about values that appear frequently in a column (skewed values).this
public CfnPartition.StorageDescriptorProperty.Builder skewedInfo(CfnPartition.SkewedInfoProperty skewedInfo)
CfnPartition.StorageDescriptorProperty.getSkewedInfo()
skewedInfo
- The information about values that appear frequently in a column (skewed values).this
public CfnPartition.StorageDescriptorProperty.Builder sortColumns(IResolvable sortColumns)
CfnPartition.StorageDescriptorProperty.getSortColumns()
sortColumns
- A list specifying the sort order of each bucket in the table.this
public CfnPartition.StorageDescriptorProperty.Builder sortColumns(java.util.List<? extends java.lang.Object> sortColumns)
CfnPartition.StorageDescriptorProperty.getSortColumns()
sortColumns
- A list specifying the sort order of each bucket in the table.this
public CfnPartition.StorageDescriptorProperty.Builder storedAsSubDirectories(java.lang.Boolean storedAsSubDirectories)
CfnPartition.StorageDescriptorProperty.getStoredAsSubDirectories()
storedAsSubDirectories
- `True` if the table data is stored in subdirectories, or `False` if not.this
public CfnPartition.StorageDescriptorProperty.Builder storedAsSubDirectories(IResolvable storedAsSubDirectories)
CfnPartition.StorageDescriptorProperty.getStoredAsSubDirectories()
storedAsSubDirectories
- `True` if the table data is stored in subdirectories, or `False` if not.this
public CfnPartition.StorageDescriptorProperty build()
CfnPartition.StorageDescriptorProperty
java.lang.NullPointerException
- if any required attribute was not provided