public static final class CfnPartition.Builder
extends java.lang.Object
CfnPartition
.Modifier and Type | Method and Description |
---|---|
CfnPartition |
build() |
CfnPartition.Builder |
catalogId(java.lang.String catalogId)
The AWS account ID of the catalog in which the partion is to be created.
|
static CfnPartition.Builder |
create(Construct scope,
java.lang.String id) |
CfnPartition.Builder |
databaseName(java.lang.String databaseName)
The name of the catalog database in which to create the partition.
|
CfnPartition.Builder |
partitionInput(CfnPartition.PartitionInputProperty partitionInput)
The structure used to create and update a partition.
|
CfnPartition.Builder |
partitionInput(IResolvable partitionInput)
The structure used to create and update a partition.
|
CfnPartition.Builder |
tableName(java.lang.String tableName)
The name of the metadata table in which the partition is to be created.
|
public static CfnPartition.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnPartition.ColumnProperty.Builder
.public CfnPartition.Builder catalogId(java.lang.String catalogId)
To specify the account ID, you can use the
Ref
intrinsic function with theAWS::AccountId
pseudo parameter. For example:!Ref AWS::AccountId
catalogId
- The AWS account ID of the catalog in which the partion is to be created. This parameter is required.this
public CfnPartition.Builder databaseName(java.lang.String databaseName)
databaseName
- The name of the catalog database in which to create the partition. This parameter is required.this
public CfnPartition.Builder partitionInput(IResolvable partitionInput)
partitionInput
- The structure used to create and update a partition. This parameter is required.this
public CfnPartition.Builder partitionInput(CfnPartition.PartitionInputProperty partitionInput)
partitionInput
- The structure used to create and update a partition. This parameter is required.this
public CfnPartition.Builder tableName(java.lang.String tableName)
tableName
- The name of the metadata table in which the partition is to be created. This parameter is required.this
public CfnPartition build()