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