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
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- 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
-
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
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConnection>
- Returns:
- a newly built instance of
CfnConnection
.
-