Class CfnConnectionProps.Builder
java.lang.Object
software.amazon.awscdk.services.interconnect.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivationKey(String activationKey) Sets the value ofCfnConnectionProps.getActivationKey()attachPoint(IResolvable attachPoint) Sets the value ofCfnConnectionProps.getAttachPoint()attachPoint(CfnConnection.AttachPointProperty attachPoint) Sets the value ofCfnConnectionProps.getAttachPoint()Sets the value ofCfnConnectionProps.getBandwidth()build()Builds the configured instance.description(String description) Sets the value ofCfnConnectionProps.getDescription()environmentId(String environmentId) Sets the value ofCfnConnectionProps.getEnvironmentId()remoteOwnerAccount(String remoteOwnerAccount) Sets the value ofCfnConnectionProps.getRemoteOwnerAccount()Sets the value ofCfnConnectionProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attachPoint
Sets the value ofCfnConnectionProps.getAttachPoint()- Parameters:
attachPoint- The logical attachment point in your AWS network where the managed connection will be connected. This parameter is required.- Returns:
this
-
attachPoint
@Stability(Stable) public CfnConnectionProps.Builder attachPoint(CfnConnection.AttachPointProperty attachPoint) Sets the value ofCfnConnectionProps.getAttachPoint()- Parameters:
attachPoint- The logical attachment point in your AWS network where the managed connection will be connected. This parameter is required.- Returns:
this
-
activationKey
Sets the value ofCfnConnectionProps.getActivationKey()- Parameters:
activationKey- The activation key for accepting a connection proposal from a partner CSP. Mutually exclusive with EnvironmentId.- Returns:
this
-
bandwidth
Sets the value ofCfnConnectionProps.getBandwidth()- Parameters:
bandwidth- The bandwidth of the connection (e.g., 50Mbps, 1Gbps). Required when creating a connection through AWS.- Returns:
this
-
description
Sets the value ofCfnConnectionProps.getDescription()- Parameters:
description- A description of the connection.- Returns:
this
-
environmentId
Sets the value ofCfnConnectionProps.getEnvironmentId()- Parameters:
environmentId- The ID of the environment for the connection. Required when creating a connection through AWS. Mutually exclusive with ActivationKey.- Returns:
this
-
remoteOwnerAccount
Sets the value ofCfnConnectionProps.getRemoteOwnerAccount()- Parameters:
remoteOwnerAccount- The account ID of the remote owner. Required when creating a connection through AWS.- Returns:
this
-
tags
Sets the value ofCfnConnectionProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectionProps>- Returns:
- a new instance of
CfnConnectionProps - Throws:
NullPointerException- if any required attribute was not provided
-