Class CfnTransitGatewayPeering.Builder
java.lang.Object
software.amazon.awscdk.services.networkmanager.CfnTransitGatewayPeering.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransitGatewayPeering>
- Enclosing class:
- CfnTransitGatewayPeering
@Stability(Stable)
public static final class CfnTransitGatewayPeering.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransitGatewayPeering>
A fluent builder for
CfnTransitGatewayPeering.-
Method Summary
Modifier and TypeMethodDescriptionbuild()coreNetworkId(String coreNetworkId) The ID of the core network.The list of key-value tags associated with the peering.transitGatewayArn(String transitGatewayArn) The ARN of the transit gateway.
-
Method Details
-
create
@Stability(Stable) public static CfnTransitGatewayPeering.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
CfnTransitGatewayPeering.Builder.
-
coreNetworkId
The ID of the core network.- Parameters:
coreNetworkId- The ID of the core network. This parameter is required.- Returns:
this
-
transitGatewayArn
@Stability(Stable) public CfnTransitGatewayPeering.Builder transitGatewayArn(String transitGatewayArn) The ARN of the transit gateway.- Parameters:
transitGatewayArn- The ARN of the transit gateway. This parameter is required.- Returns:
this
-
tags
The list of key-value tags associated with the peering.- Parameters:
tags- The list of key-value tags associated with the peering. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTransitGatewayPeering>- Returns:
- a newly built instance of
CfnTransitGatewayPeering.
-