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