Class CfnTransitGatewayConnectMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnTransitGatewayConnectMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransitGatewayConnectMixinProps>
- Enclosing interface:
CfnTransitGatewayConnectMixinProps
@Stability(Stable)
public static final class CfnTransitGatewayConnectMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransitGatewayConnectMixinProps>
A builder for
CfnTransitGatewayConnectMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTransitGatewayConnectMixinProps.getOptions()options(IResolvable options) Sets the value ofCfnTransitGatewayConnectMixinProps.getOptions()Sets the value ofCfnTransitGatewayConnectMixinProps.getTags()transportTransitGatewayAttachmentId(String transportTransitGatewayAttachmentId) transportTransitGatewayAttachmentId(ITransitGatewayVpcAttachmentRef transportTransitGatewayAttachmentId)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
options
Sets the value ofCfnTransitGatewayConnectMixinProps.getOptions()- Parameters:
options- The Connect attachment options.- protocol (gre)
- Returns:
this
-
options
@Stability(Stable) public CfnTransitGatewayConnectMixinProps.Builder options(CfnTransitGatewayConnectPropsMixin.TransitGatewayConnectOptionsProperty options) Sets the value ofCfnTransitGatewayConnectMixinProps.getOptions()- Parameters:
options- The Connect attachment options.- protocol (gre)
- Returns:
this
-
tags
@Stability(Stable) public CfnTransitGatewayConnectMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnTransitGatewayConnectMixinProps.getTags()- Parameters:
tags- The tags for the attachment.- Returns:
this
-
transportTransitGatewayAttachmentId
@Stability(Stable) public CfnTransitGatewayConnectMixinProps.Builder transportTransitGatewayAttachmentId(String transportTransitGatewayAttachmentId) - Parameters:
transportTransitGatewayAttachmentId- The ID of the attachment from which the Connect attachment was created.- Returns:
this
-
transportTransitGatewayAttachmentId
@Stability(Stable) public CfnTransitGatewayConnectMixinProps.Builder transportTransitGatewayAttachmentId(ITransitGatewayVpcAttachmentRef transportTransitGatewayAttachmentId) - Parameters:
transportTransitGatewayAttachmentId- The ID of the attachment from which the Connect attachment was created.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTransitGatewayConnectMixinProps>- Returns:
- a new instance of
CfnTransitGatewayConnectMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-