Class CfnConnection.Builder

java.lang.Object
software.amazon.awscdk.services.glue.CfnConnection.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnection>
Enclosing class:
CfnConnection

@Stability(Stable) public static final class CfnConnection.Builder extends Object implements software.amazon.jsii.Builder<CfnConnection>
A fluent builder for CfnConnection.
  • Method Details

    • create

      @Stability(Stable) public static CfnConnection.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 CfnConnection.Builder.
    • catalogId

      @Stability(Stable) public CfnConnection.Builder catalogId(String catalogId)
      The ID of the data catalog to create the catalog object in.

      Currently, this should be the AWS account ID.

      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 ID of the data catalog to create the catalog object in. This parameter is required.
      Returns:
      this
    • connectionInput

      @Stability(Stable) public CfnConnection.Builder connectionInput(IResolvable connectionInput)
      The connection that you want to create.

      Parameters:
      connectionInput - The connection that you want to create. This parameter is required.
      Returns:
      this
    • connectionInput

      @Stability(Stable) public CfnConnection.Builder connectionInput(CfnConnection.ConnectionInputProperty connectionInput)
      The connection that you want to create.

      Parameters:
      connectionInput - The connection that you want to create. This parameter is required.
      Returns:
      this
    • build

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