Class CfnConnectionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networkmanager.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.connectedDeviceId(String connectedDeviceId) Sets the value ofCfnConnectionMixinProps.getConnectedDeviceId()connectedLinkId(String connectedLinkId) Sets the value ofCfnConnectionMixinProps.getConnectedLinkId()description(String description) Sets the value ofCfnConnectionMixinProps.getDescription()Sets the value ofCfnConnectionMixinProps.getDeviceId()globalNetworkId(String globalNetworkId) Sets the value ofCfnConnectionMixinProps.getGlobalNetworkId()Sets the value ofCfnConnectionMixinProps.getLinkId()Sets the value ofCfnConnectionMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectedDeviceId
@Stability(Stable) public CfnConnectionMixinProps.Builder connectedDeviceId(String connectedDeviceId) Sets the value ofCfnConnectionMixinProps.getConnectedDeviceId()- Parameters:
connectedDeviceId- The ID of the second device in the connection.- Returns:
this
-
connectedLinkId
Sets the value ofCfnConnectionMixinProps.getConnectedLinkId()- Parameters:
connectedLinkId- The ID of the link for the second device.- Returns:
this
-
description
Sets the value ofCfnConnectionMixinProps.getDescription()- Parameters:
description- The description of the connection.- Returns:
this
-
deviceId
Sets the value ofCfnConnectionMixinProps.getDeviceId()- Parameters:
deviceId- The ID of the first device in the connection.- Returns:
this
-
globalNetworkId
Sets the value ofCfnConnectionMixinProps.getGlobalNetworkId()- Parameters:
globalNetworkId- The ID of the global network that the connection belongs to.- Returns:
this
-
linkId
Sets the value ofCfnConnectionMixinProps.getLinkId()- Parameters:
linkId- The ID of the link for the first device.- Returns:
this
-
tags
Sets the value ofCfnConnectionMixinProps.getTags()- Parameters:
tags- The tags for the connection.- 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
-