Class CfnPartitionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.CfnPartitionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPartitionMixinProps>
- Enclosing interface:
CfnPartitionMixinProps
@Stability(Stable)
public static final class CfnPartitionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPartitionMixinProps>
A builder for
CfnPartitionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPartitionMixinProps.getCatalogId()databaseName(String databaseName) Sets the value ofCfnPartitionMixinProps.getDatabaseName()partitionInput(CfnPartitionPropsMixin.PartitionInputProperty partitionInput) Sets the value ofCfnPartitionMixinProps.getPartitionInput()partitionInput(IResolvable partitionInput) Sets the value ofCfnPartitionMixinProps.getPartitionInput()Sets the value ofCfnPartitionMixinProps.getTableName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
catalogId
Sets the value ofCfnPartitionMixinProps.getCatalogId()- Parameters:
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
Refintrinsic function with theAWS::AccountIdpseudo parameter. For example:!Ref AWS::AccountId- Returns:
this
-
databaseName
Sets the value ofCfnPartitionMixinProps.getDatabaseName()- Parameters:
databaseName- The name of the catalog database in which to create the partition.- Returns:
this
-
partitionInput
Sets the value ofCfnPartitionMixinProps.getPartitionInput()- Parameters:
partitionInput- The structure used to create and update a partition.- Returns:
this
-
partitionInput
@Stability(Stable) public CfnPartitionMixinProps.Builder partitionInput(CfnPartitionPropsMixin.PartitionInputProperty partitionInput) Sets the value ofCfnPartitionMixinProps.getPartitionInput()- Parameters:
partitionInput- The structure used to create and update a partition.- Returns:
this
-
tableName
Sets the value ofCfnPartitionMixinProps.getTableName()- Parameters:
tableName- The name of the metadata table in which the partition is to be created.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPartitionMixinProps>- Returns:
- a new instance of
CfnPartitionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-