Class CfnPartition.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnPartition.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPartition>
- Enclosing class:
CfnPartition
@Stability(Stable)
public static final class CfnPartition.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPartition>
A fluent builder for
CfnPartition
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
The AWS account ID of the catalog in which the partion is to be created.static CfnPartition.Builder
databaseName
(String databaseName) The name of the catalog database in which to create the partition.partitionInput
(IResolvable partitionInput) The structure used to create and update a partition.partitionInput
(CfnPartition.PartitionInputProperty partitionInput) The structure used to create and update a partition.The name of the metadata table in which the partition is to be created.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnPartition.Builder
.
-
catalogId
The AWS account ID of the catalog in which the partion is to be created.To specify the account ID, you can use the
Ref
intrinsic function with theAWS::AccountId
pseudo parameter. For example:!Ref AWS::AccountId
- Parameters:
catalogId
- The AWS account ID of the catalog in which the partion is to be created. This parameter is required.- Returns:
this
-
databaseName
The name of the catalog database in which to create the partition.- Parameters:
databaseName
- The name of the catalog database in which to create the partition. This parameter is required.- Returns:
this
-
partitionInput
The structure used to create and update a partition.- Parameters:
partitionInput
- The structure used to create and update a partition. This parameter is required.- Returns:
this
-
partitionInput
@Stability(Stable) public CfnPartition.Builder partitionInput(CfnPartition.PartitionInputProperty partitionInput) The structure used to create and update a partition.- Parameters:
partitionInput
- The structure used to create and update a partition. This parameter is required.- Returns:
this
-
tableName
The name of the metadata table in which the partition is to be created.- Parameters:
tableName
- The name of the metadata table in which the partition is to be created. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPartition>
- Returns:
- a newly built instance of
CfnPartition
.
-