Class CfnConnectionProps.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnConnectionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectionProps>
- Enclosing interface:
CfnConnectionProps
@Stability(Stable)
public static final class CfnConnectionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectionProps>
A builder for
CfnConnectionProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnConnectionProps.getCatalogId()
connectionInput
(IResolvable connectionInput) Sets the value ofCfnConnectionProps.getConnectionInput()
connectionInput
(CfnConnection.ConnectionInputProperty connectionInput) Sets the value ofCfnConnectionProps.getConnectionInput()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
catalogId
Sets the value ofCfnConnectionProps.getCatalogId()
- Parameters:
catalogId
- The ID of the data catalog to create the catalog object in. This parameter is required. 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
.- Returns:
this
-
connectionInput
Sets the value ofCfnConnectionProps.getConnectionInput()
- Parameters:
connectionInput
- The connection that you want to create. This parameter is required.- Returns:
this
-
connectionInput
@Stability(Stable) public CfnConnectionProps.Builder connectionInput(CfnConnection.ConnectionInputProperty connectionInput) Sets the value ofCfnConnectionProps.getConnectionInput()
- Parameters:
connectionInput
- The connection that you want to create. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConnectionProps>
- Returns:
- a new instance of
CfnConnectionProps
- Throws:
NullPointerException
- if any required attribute was not provided
-