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