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
@Stability(Stable) public static CfnPartition.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- 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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPartition>
- Returns:
- a newly built instance of
CfnPartition
.
-