Class CfnTransitGatewayConnect.TransitGatewayConnectOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnTransitGatewayConnect.TransitGatewayConnectOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransitGatewayConnect.TransitGatewayConnectOptionsProperty>
- Enclosing interface:
CfnTransitGatewayConnect.TransitGatewayConnectOptionsProperty
@Stability(Stable)
public static final class CfnTransitGatewayConnect.TransitGatewayConnectOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransitGatewayConnect.TransitGatewayConnectOptionsProperty>
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
protocol
@Stability(Stable) public CfnTransitGatewayConnect.TransitGatewayConnectOptionsProperty.Builder protocol(String protocol) - Parameters:
protocol
- The tunnel protocol.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTransitGatewayConnect.TransitGatewayConnectOptionsProperty>
- Returns:
- a new instance of
CfnTransitGatewayConnect.TransitGatewayConnectOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-