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(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- 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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
tags
The tags for the attachment.- Parameters:
tags
- The tags for the attachment. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTransitGatewayConnect>
- Returns:
- a newly built instance of
CfnTransitGatewayConnect
.
-