Class CfnTransitGatewayConnectPeerMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnTransitGatewayConnectPeerMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransitGatewayConnectPeerMixinProps>
- Enclosing interface:
CfnTransitGatewayConnectPeerMixinProps
@Stability(Stable)
public static final class CfnTransitGatewayConnectPeerMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransitGatewayConnectPeerMixinProps>
A builder for
CfnTransitGatewayConnectPeerMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectPeerConfiguration(CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayConnectPeerConfigurationProperty connectPeerConfiguration) Sets the value ofCfnTransitGatewayConnectPeerMixinProps.getConnectPeerConfiguration()connectPeerConfiguration(IResolvable connectPeerConfiguration) Sets the value ofCfnTransitGatewayConnectPeerMixinProps.getConnectPeerConfiguration()Sets the value ofCfnTransitGatewayConnectPeerMixinProps.getTags()transitGatewayAttachmentId(String transitGatewayAttachmentId) Sets the value ofCfnTransitGatewayConnectPeerMixinProps.getTransitGatewayAttachmentId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectPeerConfiguration
@Stability(Stable) public CfnTransitGatewayConnectPeerMixinProps.Builder connectPeerConfiguration(IResolvable connectPeerConfiguration) Sets the value ofCfnTransitGatewayConnectPeerMixinProps.getConnectPeerConfiguration()- Parameters:
connectPeerConfiguration- The Connect peer details.- Returns:
this
-
connectPeerConfiguration
@Stability(Stable) public CfnTransitGatewayConnectPeerMixinProps.Builder connectPeerConfiguration(CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayConnectPeerConfigurationProperty connectPeerConfiguration) Sets the value ofCfnTransitGatewayConnectPeerMixinProps.getConnectPeerConfiguration()- Parameters:
connectPeerConfiguration- The Connect peer details.- Returns:
this
-
tags
@Stability(Stable) public CfnTransitGatewayConnectPeerMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnTransitGatewayConnectPeerMixinProps.getTags()- Parameters:
tags- The tags for the Connect peer.- Returns:
this
-
transitGatewayAttachmentId
@Stability(Stable) public CfnTransitGatewayConnectPeerMixinProps.Builder transitGatewayAttachmentId(String transitGatewayAttachmentId) Sets the value ofCfnTransitGatewayConnectPeerMixinProps.getTransitGatewayAttachmentId()- Parameters:
transitGatewayAttachmentId- The ID of the Connect attachment.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTransitGatewayConnectPeerMixinProps>- Returns:
- a new instance of
CfnTransitGatewayConnectPeerMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-