public static final class CfnTable.TableInputProperty.Builder
extends java.lang.Object
CfnTable.TableInputProperty
Constructor and Description |
---|
Builder() |
public CfnTable.TableInputProperty.Builder description(java.lang.String description)
CfnTable.TableInputProperty.getDescription()
description
- A description of the table.this
public CfnTable.TableInputProperty.Builder name(java.lang.String name)
CfnTable.TableInputProperty.getName()
name
- The table name.
For Hive compatibility, this is folded to lowercase when it is stored.this
public CfnTable.TableInputProperty.Builder owner(java.lang.String owner)
CfnTable.TableInputProperty.getOwner()
owner
- The table owner.this
public CfnTable.TableInputProperty.Builder parameters(java.lang.Object parameters)
CfnTable.TableInputProperty.getParameters()
parameters
- These key-value pairs define properties associated with the table.this
public CfnTable.TableInputProperty.Builder partitionKeys(IResolvable partitionKeys)
CfnTable.TableInputProperty.getPartitionKeys()
partitionKeys
- A list of columns by which the table is partitioned. Only primitive types are supported as partition keys.
When you create a table used by Amazon Athena, and you do not specify any partitionKeys
, you must at least set the value of partitionKeys
to an empty list. For example:
"PartitionKeys": []
this
public CfnTable.TableInputProperty.Builder partitionKeys(java.util.List<? extends java.lang.Object> partitionKeys)
CfnTable.TableInputProperty.getPartitionKeys()
partitionKeys
- A list of columns by which the table is partitioned. Only primitive types are supported as partition keys.
When you create a table used by Amazon Athena, and you do not specify any partitionKeys
, you must at least set the value of partitionKeys
to an empty list. For example:
"PartitionKeys": []
this
public CfnTable.TableInputProperty.Builder retention(java.lang.Number retention)
CfnTable.TableInputProperty.getRetention()
retention
- The retention time for this table.this
public CfnTable.TableInputProperty.Builder storageDescriptor(IResolvable storageDescriptor)
CfnTable.TableInputProperty.getStorageDescriptor()
storageDescriptor
- A storage descriptor containing information about the physical storage of this table.this
public CfnTable.TableInputProperty.Builder storageDescriptor(CfnTable.StorageDescriptorProperty storageDescriptor)
CfnTable.TableInputProperty.getStorageDescriptor()
storageDescriptor
- A storage descriptor containing information about the physical storage of this table.this
public CfnTable.TableInputProperty.Builder tableType(java.lang.String tableType)
CfnTable.TableInputProperty.getTableType()
tableType
- The type of this table ( `EXTERNAL_TABLE` , `VIRTUAL_VIEW` , etc.).this
public CfnTable.TableInputProperty.Builder targetTable(IResolvable targetTable)
CfnTable.TableInputProperty.getTargetTable()
targetTable
- A `TableIdentifier` structure that describes a target table for resource linking.this
public CfnTable.TableInputProperty.Builder targetTable(CfnTable.TableIdentifierProperty targetTable)
CfnTable.TableInputProperty.getTargetTable()
targetTable
- A `TableIdentifier` structure that describes a target table for resource linking.this
public CfnTable.TableInputProperty.Builder viewExpandedText(java.lang.String viewExpandedText)
CfnTable.TableInputProperty.getViewExpandedText()
viewExpandedText
- If the table is a view, the expanded text of the view;.
otherwise null
.this
public CfnTable.TableInputProperty.Builder viewOriginalText(java.lang.String viewOriginalText)
CfnTable.TableInputProperty.getViewOriginalText()
viewOriginalText
- If the table is a view, the original text of the view;.
otherwise null
.this
public CfnTable.TableInputProperty build()
CfnTable.TableInputProperty
java.lang.NullPointerException
- if any required attribute was not provided