Package com.pulumi.aws.glue.inputs
Class CatalogTableState.Builder
- java.lang.Object
-
- com.pulumi.aws.glue.inputs.CatalogTableState.Builder
-
- Enclosing class:
- CatalogTableState
public static final class CatalogTableState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(CatalogTableState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(CatalogTableState defaults)
-
-
Method Detail
-
arn
public CatalogTableState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- ARN of the Glue Table.- Returns:
- builder
-
arn
public CatalogTableState.Builder arn(java.lang.String arn)
- Parameters:
arn- ARN of the Glue Table.- Returns:
- builder
-
catalogId
public CatalogTableState.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 CatalogTableState.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 CatalogTableState.Builder databaseName(@Nullable 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 CatalogTableState.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 CatalogTableState.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description- Description of the table.- Returns:
- builder
-
description
public CatalogTableState.Builder description(java.lang.String description)
- Parameters:
description- Description of the table.- Returns:
- builder
-
name
public CatalogTableState.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 CatalogTableState.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 CatalogTableState.Builder openTableFormatInput(@Nullable com.pulumi.core.Output<CatalogTableOpenTableFormatInputArgs> openTableFormatInput)
- Parameters:
openTableFormatInput- Configuration block for open table formats. See `openTableFormatInput` below.- Returns:
- builder
-
openTableFormatInput
public CatalogTableState.Builder openTableFormatInput(CatalogTableOpenTableFormatInputArgs openTableFormatInput)
- Parameters:
openTableFormatInput- Configuration block for open table formats. See `openTableFormatInput` below.- Returns:
- builder
-
owner
public CatalogTableState.Builder owner(@Nullable com.pulumi.core.Output<java.lang.String> owner)
- Parameters:
owner- Owner of the table.- Returns:
- builder
-
owner
public CatalogTableState.Builder owner(java.lang.String owner)
- Parameters:
owner- Owner of the table.- Returns:
- builder
-
parameters
public CatalogTableState.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 CatalogTableState.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 CatalogTableState.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 CatalogTableState.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 CatalogTableState.Builder partitionIndices(CatalogTablePartitionIndexArgs... partitionIndices)
- Parameters:
partitionIndices- Configuration block for a maximum of 3 partition indexes. See `partitionIndex` below.- Returns:
- builder
-
partitionKeys
public CatalogTableState.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 CatalogTableState.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 CatalogTableState.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 CatalogTableState.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 CatalogTableState.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 CatalogTableState.Builder retention(@Nullable com.pulumi.core.Output<java.lang.Integer> retention)
- Parameters:
retention- Retention time for this table.- Returns:
- builder
-
retention
public CatalogTableState.Builder retention(java.lang.Integer retention)
- Parameters:
retention- Retention time for this table.- Returns:
- builder
-
storageDescriptor
public CatalogTableState.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 CatalogTableState.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 CatalogTableState.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 CatalogTableState.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 CatalogTableState.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 CatalogTableState.Builder targetTable(CatalogTableTargetTableArgs targetTable)
- Parameters:
targetTable- Configuration block of a target table for resource linking. See `targetTable` below.- Returns:
- builder
-
viewDefinition
public CatalogTableState.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 CatalogTableState.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 CatalogTableState.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 CatalogTableState.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 CatalogTableState.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 CatalogTableState.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 CatalogTableState build()
-
-