Package com.pulumi.aws.glue
Class CatalogTableArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.glue.CatalogTableArgs.Builder
-
- Enclosing class:
- CatalogTableArgs
public static final class CatalogTableArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(CatalogTableArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(CatalogTableArgs defaults)
-
-
Method Detail
-
catalogId
public CatalogTableArgs.Builder catalogId(@Nullable com.pulumi.core.Output<java.lang.String> catalogId)
- Parameters:
catalogId- ID of the Glue Catalog and database to create the table in. If omitted, this defaults to the AWS Account ID plus the database name.- Returns:
- builder
-
catalogId
public CatalogTableArgs.Builder catalogId(java.lang.String catalogId)
- Parameters:
catalogId- ID of the Glue Catalog and database to create the table in. If omitted, this defaults to the AWS Account ID plus the database name.- Returns:
- builder
-
databaseName
public CatalogTableArgs.Builder databaseName(com.pulumi.core.Output<java.lang.String> databaseName)
- Parameters:
databaseName- Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.- Returns:
- builder
-
databaseName
public CatalogTableArgs.Builder databaseName(java.lang.String databaseName)
- Parameters:
databaseName- Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.- Returns:
- builder
-
description
public CatalogTableArgs.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description- Description of the table.- Returns:
- builder
-
description
public CatalogTableArgs.Builder description(java.lang.String description)
- Parameters:
description- Description of the table.- Returns:
- builder
-
name
public CatalogTableArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- Name of the table. For Hive compatibility, this must be entirely lowercase. The following arguments are optional:- Returns:
- builder
-
name
public CatalogTableArgs.Builder name(java.lang.String name)
- Parameters:
name- Name of the table. For Hive compatibility, this must be entirely lowercase. The following arguments are optional:- Returns:
- builder
-
openTableFormatInput
public CatalogTableArgs.Builder openTableFormatInput(@Nullable com.pulumi.core.Output<CatalogTableOpenTableFormatInputArgs> openTableFormatInput)
- Parameters:
openTableFormatInput- Configuration block for open table formats. See `openTableFormatInput` below.- Returns:
- builder
-
openTableFormatInput
public CatalogTableArgs.Builder openTableFormatInput(CatalogTableOpenTableFormatInputArgs openTableFormatInput)
- Parameters:
openTableFormatInput- Configuration block for open table formats. See `openTableFormatInput` below.- Returns:
- builder
-
owner
public CatalogTableArgs.Builder owner(@Nullable com.pulumi.core.Output<java.lang.String> owner)
- Parameters:
owner- Owner of the table.- Returns:
- builder
-
owner
public CatalogTableArgs.Builder owner(java.lang.String owner)
- Parameters:
owner- Owner of the table.- Returns:
- builder
-
parameters
public CatalogTableArgs.Builder parameters(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> parameters)
- Parameters:
parameters- Properties associated with this table, as a map of key-value pairs.- Returns:
- builder
-
parameters
public CatalogTableArgs.Builder parameters(java.util.Map<java.lang.String,java.lang.String> parameters)
- Parameters:
parameters- Properties associated with this table, as a map of key-value pairs.- Returns:
- builder
-
partitionIndices
public CatalogTableArgs.Builder partitionIndices(@Nullable com.pulumi.core.Output<java.util.List<CatalogTablePartitionIndexArgs>> partitionIndices)
- Parameters:
partitionIndices- Configuration block for a maximum of 3 partition indexes. See `partitionIndex` below.- Returns:
- builder
-
partitionIndices
public CatalogTableArgs.Builder partitionIndices(java.util.List<CatalogTablePartitionIndexArgs> partitionIndices)
- Parameters:
partitionIndices- Configuration block for a maximum of 3 partition indexes. See `partitionIndex` below.- Returns:
- builder
-
partitionIndices
public CatalogTableArgs.Builder partitionIndices(CatalogTablePartitionIndexArgs... partitionIndices)
- Parameters:
partitionIndices- Configuration block for a maximum of 3 partition indexes. See `partitionIndex` below.- Returns:
- builder
-
partitionKeys
public CatalogTableArgs.Builder partitionKeys(@Nullable com.pulumi.core.Output<java.util.List<CatalogTablePartitionKeyArgs>> partitionKeys)
- Parameters:
partitionKeys- Configuration block of columns by which the table is partitioned. Only primitive types are supported as partition keys. See `partitionKeys` below.- Returns:
- builder
-
partitionKeys
public CatalogTableArgs.Builder partitionKeys(java.util.List<CatalogTablePartitionKeyArgs> partitionKeys)
- Parameters:
partitionKeys- Configuration block of columns by which the table is partitioned. Only primitive types are supported as partition keys. See `partitionKeys` below.- Returns:
- builder
-
partitionKeys
public CatalogTableArgs.Builder partitionKeys(CatalogTablePartitionKeyArgs... partitionKeys)
- Parameters:
partitionKeys- Configuration block of columns by which the table is partitioned. Only primitive types are supported as partition keys. See `partitionKeys` below.- Returns:
- builder
-
region
public CatalogTableArgs.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public CatalogTableArgs.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
retention
public CatalogTableArgs.Builder retention(@Nullable com.pulumi.core.Output<java.lang.Integer> retention)
- Parameters:
retention- Retention time for this table.- Returns:
- builder
-
retention
public CatalogTableArgs.Builder retention(java.lang.Integer retention)
- Parameters:
retention- Retention time for this table.- Returns:
- builder
-
storageDescriptor
public CatalogTableArgs.Builder storageDescriptor(@Nullable com.pulumi.core.Output<CatalogTableStorageDescriptorArgs> storageDescriptor)
- Parameters:
storageDescriptor- Configuration block for information about the physical storage of this table. For more information, refer to the [Glue Developer Guide](https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-tables.html#aws-glue-api-catalog-tables-StorageDescriptor). See `storageDescriptor` below.- Returns:
- builder
-
storageDescriptor
public CatalogTableArgs.Builder storageDescriptor(CatalogTableStorageDescriptorArgs storageDescriptor)
- Parameters:
storageDescriptor- Configuration block for information about the physical storage of this table. For more information, refer to the [Glue Developer Guide](https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-tables.html#aws-glue-api-catalog-tables-StorageDescriptor). See `storageDescriptor` below.- Returns:
- builder
-
tableType
public CatalogTableArgs.Builder tableType(@Nullable com.pulumi.core.Output<java.lang.String> tableType)
- Parameters:
tableType- Type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.). While optional, some Athena DDL queries such as `ALTER TABLE` and `SHOW CREATE TABLE` will fail if this argument is empty.- Returns:
- builder
-
tableType
public CatalogTableArgs.Builder tableType(java.lang.String tableType)
- Parameters:
tableType- Type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.). While optional, some Athena DDL queries such as `ALTER TABLE` and `SHOW CREATE TABLE` will fail if this argument is empty.- Returns:
- builder
-
targetTable
public CatalogTableArgs.Builder targetTable(@Nullable com.pulumi.core.Output<CatalogTableTargetTableArgs> targetTable)
- Parameters:
targetTable- Configuration block of a target table for resource linking. See `targetTable` below.- Returns:
- builder
-
targetTable
public CatalogTableArgs.Builder targetTable(CatalogTableTargetTableArgs targetTable)
- Parameters:
targetTable- Configuration block of a target table for resource linking. See `targetTable` below.- Returns:
- builder
-
viewDefinition
public CatalogTableArgs.Builder viewDefinition(@Nullable com.pulumi.core.Output<CatalogTableViewDefinitionArgs> viewDefinition)
- Parameters:
viewDefinition- Structure that contains all the information that defines the view, including the dialect or dialects for the view, and the query. See `viewDefinition` below.- Returns:
- builder
-
viewDefinition
public CatalogTableArgs.Builder viewDefinition(CatalogTableViewDefinitionArgs viewDefinition)
- Parameters:
viewDefinition- Structure that contains all the information that defines the view, including the dialect or dialects for the view, and the query. See `viewDefinition` below.- Returns:
- builder
-
viewExpandedText
public CatalogTableArgs.Builder viewExpandedText(@Nullable com.pulumi.core.Output<java.lang.String> viewExpandedText)
- Parameters:
viewExpandedText- If the table is a view, the expanded text of the view; otherwise null.- Returns:
- builder
-
viewExpandedText
public CatalogTableArgs.Builder viewExpandedText(java.lang.String viewExpandedText)
- Parameters:
viewExpandedText- If the table is a view, the expanded text of the view; otherwise null.- Returns:
- builder
-
viewOriginalText
public CatalogTableArgs.Builder viewOriginalText(@Nullable com.pulumi.core.Output<java.lang.String> viewOriginalText)
- Parameters:
viewOriginalText- If the table is a view, the original text of the view; otherwise null.- Returns:
- builder
-
viewOriginalText
public CatalogTableArgs.Builder viewOriginalText(java.lang.String viewOriginalText)
- Parameters:
viewOriginalText- If the table is a view, the original text of the view; otherwise null.- Returns:
- builder
-
build
public CatalogTableArgs build()
-
-