Class CfnConnection.Builder
java.lang.Object
software.amazon.awscdk.services.networkmanager.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()connectedDeviceId(String connectedDeviceId) The ID of the second device in the connection.connectedLinkId(String connectedLinkId) The ID of the link for the second device.static CfnConnection.Builderdescription(String description) The description of the connection.The ID of the first device in the connection.globalNetworkId(String globalNetworkId) The ID of the global network that the connection belongs to.The ID of the link for the first device.The tags for the connection.
-
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.
-
connectedDeviceId
The ID of the second device in the connection.- Parameters:
connectedDeviceId- The ID of the second device in the connection. This parameter is required.- Returns:
this- See Also:
-
deviceId
The ID of the first device in the connection.- Parameters:
deviceId- The ID of the first device in the connection. This parameter is required.- Returns:
this- See Also:
-
globalNetworkId
The ID of the global network that the connection belongs to.- Parameters:
globalNetworkId- The ID of the global network that the connection belongs to. This parameter is required.- Returns:
this- See Also:
-
connectedLinkId
The ID of the link for the second device.- Parameters:
connectedLinkId- The ID of the link for the second device. This parameter is required.- Returns:
this- See Also:
-
description
The description of the connection.- Parameters:
description- The description of the connection. This parameter is required.- Returns:
this- See Also:
-
linkId
The ID of the link for the first device.- Parameters:
linkId- The ID of the link for the first device. This parameter is required.- Returns:
this- See Also:
-
tags
The tags for the connection.- Parameters:
tags- The tags for the connection. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnection>- Returns:
- a newly built instance of
CfnConnection.
-