Class CfnConnectionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.interconnect.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 TypeMethodDescriptionactivationKey(String activationKey) Sets the value ofCfnConnectionMixinProps.getActivationKey()attachPoint(CfnConnectionPropsMixin.AttachPointProperty attachPoint) Sets the value ofCfnConnectionMixinProps.getAttachPoint()attachPoint(IResolvable attachPoint) Sets the value ofCfnConnectionMixinProps.getAttachPoint()Sets the value ofCfnConnectionMixinProps.getBandwidth()build()Builds the configured instance.description(String description) Sets the value ofCfnConnectionMixinProps.getDescription()environmentId(String environmentId) Sets the value ofCfnConnectionMixinProps.getEnvironmentId()remoteOwnerAccount(String remoteOwnerAccount) Sets the value ofCfnConnectionMixinProps.getRemoteOwnerAccount()Sets the value ofCfnConnectionMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
activationKey
Sets the value ofCfnConnectionMixinProps.getActivationKey()- Parameters:
activationKey- The activation key for accepting a connection proposal from a partner CSP. Mutually exclusive with EnvironmentId.- Returns:
this
-
attachPoint
Sets the value ofCfnConnectionMixinProps.getAttachPoint()- Parameters:
attachPoint- The logical attachment point in your AWS network where the managed connection will be connected.- Returns:
this
-
attachPoint
@Stability(Stable) public CfnConnectionMixinProps.Builder attachPoint(CfnConnectionPropsMixin.AttachPointProperty attachPoint) Sets the value ofCfnConnectionMixinProps.getAttachPoint()- Parameters:
attachPoint- The logical attachment point in your AWS network where the managed connection will be connected.- Returns:
this
-
bandwidth
Sets the value ofCfnConnectionMixinProps.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 ofCfnConnectionMixinProps.getDescription()- Parameters:
description- A description of the connection.- Returns:
this
-
environmentId
Sets the value ofCfnConnectionMixinProps.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
@Stability(Stable) public CfnConnectionMixinProps.Builder remoteOwnerAccount(String remoteOwnerAccount) Sets the value ofCfnConnectionMixinProps.getRemoteOwnerAccount()- Parameters:
remoteOwnerAccount- The account ID of the remote owner. Required when creating a connection through AWS.- Returns:
this
-
tags
Sets the value ofCfnConnectionMixinProps.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<CfnConnectionMixinProps>- Returns:
- a new instance of
CfnConnectionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-