Class CfnConnectionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.CfnConnectionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectionMixinProps>
- Enclosing interface:
CfnConnectionMixinProps
@Stability(Stable)
public static final class CfnConnectionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectionMixinProps>
A builder for
CfnConnectionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnConnectionMixinProps.getCatalogId()connectionInput(CfnConnectionPropsMixin.ConnectionInputProperty connectionInput) Sets the value ofCfnConnectionMixinProps.getConnectionInput()connectionInput(IResolvable connectionInput) Sets the value ofCfnConnectionMixinProps.getConnectionInput()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
catalogId
Sets the value ofCfnConnectionMixinProps.getCatalogId()- Parameters:
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
Refintrinsic function with theAWS::AccountIdpseudo parameter. For example:!Ref AWS::AccountId.- Returns:
this
-
connectionInput
@Stability(Stable) public CfnConnectionMixinProps.Builder connectionInput(IResolvable connectionInput) Sets the value ofCfnConnectionMixinProps.getConnectionInput()- Parameters:
connectionInput- The connection that you want to create.- Returns:
this
-
connectionInput
@Stability(Stable) public CfnConnectionMixinProps.Builder connectionInput(CfnConnectionPropsMixin.ConnectionInputProperty connectionInput) Sets the value ofCfnConnectionMixinProps.getConnectionInput()- Parameters:
connectionInput- The connection that you want to create.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectionMixinProps>- Returns:
- a new instance of
CfnConnectionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-