public static final class CfnPartitionProps.Builder
extends java.lang.Object
CfnPartitionProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnPartitionProps |
build()
Builds the configured instance.
|
CfnPartitionProps.Builder |
catalogId(java.lang.String catalogId)
Sets the value of
CfnPartitionProps.getCatalogId() |
CfnPartitionProps.Builder |
databaseName(java.lang.String databaseName)
Sets the value of
CfnPartitionProps.getDatabaseName() |
CfnPartitionProps.Builder |
partitionInput(CfnPartition.PartitionInputProperty partitionInput)
Sets the value of
CfnPartitionProps.getPartitionInput() |
CfnPartitionProps.Builder |
partitionInput(IResolvable partitionInput)
Sets the value of
CfnPartitionProps.getPartitionInput() |
CfnPartitionProps.Builder |
tableName(java.lang.String tableName)
Sets the value of
CfnPartitionProps.getTableName() |
public CfnPartitionProps.Builder catalogId(java.lang.String catalogId)
CfnPartitionProps.getCatalogId()
catalogId
- The AWS account ID of the catalog in which the partion is to be created. This parameter is required.
To specify the account ID, you can use the
Ref
intrinsic function with theAWS::AccountId
pseudo parameter. For example:!Ref AWS::AccountId
this
public CfnPartitionProps.Builder databaseName(java.lang.String databaseName)
CfnPartitionProps.getDatabaseName()
databaseName
- The name of the catalog database in which to create the partition. This parameter is required.this
public CfnPartitionProps.Builder partitionInput(IResolvable partitionInput)
CfnPartitionProps.getPartitionInput()
partitionInput
- The structure used to create and update a partition. This parameter is required.this
public CfnPartitionProps.Builder partitionInput(CfnPartition.PartitionInputProperty partitionInput)
CfnPartitionProps.getPartitionInput()
partitionInput
- The structure used to create and update a partition. This parameter is required.this
public CfnPartitionProps.Builder tableName(java.lang.String tableName)
CfnPartitionProps.getTableName()
tableName
- The name of the metadata table in which the partition is to be created. This parameter is required.this
public CfnPartitionProps build()
CfnPartitionProps
java.lang.NullPointerException
- if any required attribute was not provided