Class CfnConnectPeerMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networkmanager.CfnConnectPeerMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectPeerMixinProps>
- Enclosing interface:
CfnConnectPeerMixinProps
@Stability(Stable)
public static final class CfnConnectPeerMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectPeerMixinProps>
A builder for
CfnConnectPeerMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnConnectPeerMixinProps.getBgpOptions()bgpOptions(IResolvable bgpOptions) Sets the value ofCfnConnectPeerMixinProps.getBgpOptions()build()Builds the configured instance.connectAttachmentId(String connectAttachmentId) Sets the value ofCfnConnectPeerMixinProps.getConnectAttachmentId()coreNetworkAddress(String coreNetworkAddress) Sets the value ofCfnConnectPeerMixinProps.getCoreNetworkAddress()insideCidrBlocks(List<String> insideCidrBlocks) Sets the value ofCfnConnectPeerMixinProps.getInsideCidrBlocks()peerAddress(String peerAddress) Sets the value ofCfnConnectPeerMixinProps.getPeerAddress()Sets the value ofCfnConnectPeerMixinProps.getSubnetArn()Sets the value ofCfnConnectPeerMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bgpOptions
Sets the value ofCfnConnectPeerMixinProps.getBgpOptions()- Parameters:
bgpOptions- Describes the BGP options.- Returns:
this
-
bgpOptions
@Stability(Stable) public CfnConnectPeerMixinProps.Builder bgpOptions(CfnConnectPeerPropsMixin.BgpOptionsProperty bgpOptions) Sets the value ofCfnConnectPeerMixinProps.getBgpOptions()- Parameters:
bgpOptions- Describes the BGP options.- Returns:
this
-
connectAttachmentId
@Stability(Stable) public CfnConnectPeerMixinProps.Builder connectAttachmentId(String connectAttachmentId) Sets the value ofCfnConnectPeerMixinProps.getConnectAttachmentId()- Parameters:
connectAttachmentId- The ID of the attachment to connect.- Returns:
this
-
coreNetworkAddress
@Stability(Stable) public CfnConnectPeerMixinProps.Builder coreNetworkAddress(String coreNetworkAddress) Sets the value ofCfnConnectPeerMixinProps.getCoreNetworkAddress()- Parameters:
coreNetworkAddress- The IP address of a core network.- Returns:
this
-
insideCidrBlocks
@Stability(Stable) public CfnConnectPeerMixinProps.Builder insideCidrBlocks(List<String> insideCidrBlocks) Sets the value ofCfnConnectPeerMixinProps.getInsideCidrBlocks()- Parameters:
insideCidrBlocks- The inside IP addresses used for a Connect peer configuration.- Returns:
this
-
peerAddress
Sets the value ofCfnConnectPeerMixinProps.getPeerAddress()- Parameters:
peerAddress- The IP address of the Connect peer.- Returns:
this
-
subnetArn
Sets the value ofCfnConnectPeerMixinProps.getSubnetArn()- Parameters:
subnetArn- The subnet ARN of the Connect peer.- Returns:
this
-
tags
Sets the value ofCfnConnectPeerMixinProps.getTags()- Parameters:
tags- The list of key-value tags associated with the Connect peer.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectPeerMixinProps>- Returns:
- a new instance of
CfnConnectPeerMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-