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 Details

    • create

      @Stability(Stable) public static CfnPartition.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnPartition.Builder.
    • catalogId

      @Stability(Stable) public CfnPartition.Builder catalogId(String 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 the AWS::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

      @Stability(Stable) public CfnPartition.Builder databaseName(String 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

      @Stability(Stable) public CfnPartition.Builder partitionInput(IResolvable 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

      @Stability(Stable) public CfnPartition.Builder tableName(String 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

      @Stability(Stable) public CfnPartition build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnPartition>
      Returns:
      a newly built instance of CfnPartition.