Class CfnCustomerGatewayAssociationProps.Builder
java.lang.Object
software.amazon.awscdk.services.networkmanager.CfnCustomerGatewayAssociationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCustomerGatewayAssociationProps>
- Enclosing interface:
CfnCustomerGatewayAssociationProps
@Stability(Stable)
public static final class CfnCustomerGatewayAssociationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCustomerGatewayAssociationProps>
A builder for
CfnCustomerGatewayAssociationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.customerGatewayArn(String customerGatewayArn) Sets the value ofCfnCustomerGatewayAssociationProps.getCustomerGatewayArn()Sets the value ofCfnCustomerGatewayAssociationProps.getDeviceId()globalNetworkId(String globalNetworkId) Sets the value ofCfnCustomerGatewayAssociationProps.getGlobalNetworkId()Sets the value ofCfnCustomerGatewayAssociationProps.getLinkId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customerGatewayArn
@Stability(Stable) public CfnCustomerGatewayAssociationProps.Builder customerGatewayArn(String customerGatewayArn) Sets the value ofCfnCustomerGatewayAssociationProps.getCustomerGatewayArn()- Parameters:
customerGatewayArn- The Amazon Resource Name (ARN) of the customer gateway. This parameter is required.- Returns:
this
-
deviceId
Sets the value ofCfnCustomerGatewayAssociationProps.getDeviceId()- Parameters:
deviceId- The ID of the device. This parameter is required.- Returns:
this
-
globalNetworkId
@Stability(Stable) public CfnCustomerGatewayAssociationProps.Builder globalNetworkId(String globalNetworkId) Sets the value ofCfnCustomerGatewayAssociationProps.getGlobalNetworkId()- Parameters:
globalNetworkId- The ID of the global network. This parameter is required.- Returns:
this
-
linkId
Sets the value ofCfnCustomerGatewayAssociationProps.getLinkId()- Parameters:
linkId- The ID of the link.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCustomerGatewayAssociationProps>- Returns:
- a new instance of
CfnCustomerGatewayAssociationProps - Throws:
NullPointerException- if any required attribute was not provided
-