Class CfnTransitGatewayConnect.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnTransitGatewayConnect.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransitGatewayConnect>
- Enclosing class:
- CfnTransitGatewayConnect
@Stability(Stable)
public static final class CfnTransitGatewayConnect.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransitGatewayConnect>
A fluent builder for
CfnTransitGatewayConnect.-
Method Summary
Modifier and TypeMethodDescriptionbuild()options(IResolvable options) The Connect attachment options.The Connect attachment options.The tags for the attachment.transportTransitGatewayAttachmentId(String transportTransitGatewayAttachmentId) The ID of the attachment from which the Connect attachment was created.
-
Method Details
-
create
@Stability(Stable) public static CfnTransitGatewayConnect.Builder create(Construct scope, String id) - Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnTransitGatewayConnect.Builder.
-
options
The Connect attachment options.- protocol (gre)
- Parameters:
options- The Connect attachment options. This parameter is required.- Returns:
this
-
options
@Stability(Stable) public CfnTransitGatewayConnect.Builder options(CfnTransitGatewayConnect.TransitGatewayConnectOptionsProperty options) The Connect attachment options.- protocol (gre)
- Parameters:
options- The Connect attachment options. This parameter is required.- Returns:
this
-
transportTransitGatewayAttachmentId
@Stability(Stable) public CfnTransitGatewayConnect.Builder transportTransitGatewayAttachmentId(String transportTransitGatewayAttachmentId) The ID of the attachment from which the Connect attachment was created.- Parameters:
transportTransitGatewayAttachmentId- The ID of the attachment from which the Connect attachment was created. This parameter is required.- Returns:
this
-
tags
The tags for the attachment.- Parameters:
tags- The tags for the attachment. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTransitGatewayConnect>- Returns:
- a newly built instance of
CfnTransitGatewayConnect.
-