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 Summary
Modifier and TypeMethodDescriptionbuild()
The ID of the data catalog to create the catalog object in.connectionInput
(IResolvable connectionInput) The connection that you want to create.connectionInput
(CfnConnection.ConnectionInputProperty connectionInput) The connection that you want to create.static CfnConnection.Builder
-
Method Details
-
create
@Stability(Stable) public static CfnConnection.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
CfnConnection.Builder
.
-
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 theAWS::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
- See Also:
-
connectionInput
The connection that you want to create.- Parameters:
connectionInput
- The connection that you want to create. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConnection>
- Returns:
- a newly built instance of
CfnConnection
.
-