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