Class CfnConnection.Builder
java.lang.Object
software.amazon.awscdk.services.datazone.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 TypeMethodDescriptionawsLocation
(IResolvable awsLocation) The location where the connection is created.awsLocation
(CfnConnection.AwsLocationProperty awsLocation) The location where the connection is created.build()
static CfnConnection.Builder
description
(String description) Connection description.domainIdentifier
(String domainIdentifier) The ID of the domain where the connection is created.environmentIdentifier
(String environmentIdentifier) The ID of the environment where the connection is created.The name of the connection.props
(IResolvable props) Connection props.Connection props.
-
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
.
-
domainIdentifier
The ID of the domain where the connection is created.- Parameters:
domainIdentifier
- The ID of the domain where the connection is created. This parameter is required.- Returns:
this
- See Also:
-
environmentIdentifier
The ID of the environment where the connection is created.- Parameters:
environmentIdentifier
- The ID of the environment where the connection is created. This parameter is required.- Returns:
this
- See Also:
-
name
The name of the connection.- Parameters:
name
- The name of the connection. This parameter is required.- Returns:
this
- See Also:
-
awsLocation
The location where the connection is created.- Parameters:
awsLocation
- The location where the connection is created. This parameter is required.- Returns:
this
- See Also:
-
awsLocation
@Stability(Stable) public CfnConnection.Builder awsLocation(CfnConnection.AwsLocationProperty awsLocation) The location where the connection is created.- Parameters:
awsLocation
- The location where the connection is created. This parameter is required.- Returns:
this
- See Also:
-
description
Connection description.- Parameters:
description
- Connection description. This parameter is required.- Returns:
this
- See Also:
-
props
Connection props.- Parameters:
props
- Connection props. This parameter is required.- Returns:
this
- See Also:
-
props
@Stability(Stable) public CfnConnection.Builder props(CfnConnection.ConnectionPropertiesInputProperty props) Connection props.- Parameters:
props
- Connection props. 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
.
-