Class ComputeHaVpnGatewayVpnInterfaces.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_ha_vpn_gateway.ComputeHaVpnGatewayVpnInterfaces.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeHaVpnGatewayVpnInterfaces>
- Enclosing interface:
- ComputeHaVpnGatewayVpnInterfaces
@Stability(Stable) public static final class ComputeHaVpnGatewayVpnInterfaces.Builder extends Object implements software.amazon.jsii.Builder<ComputeHaVpnGatewayVpnInterfaces>
A builder forComputeHaVpnGatewayVpnInterfaces
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeHaVpnGatewayVpnInterfacesbuild()Builds the configured instance.ComputeHaVpnGatewayVpnInterfaces.Builderid(Number id)Sets the value ofComputeHaVpnGatewayVpnInterfaces.getId()ComputeHaVpnGatewayVpnInterfaces.BuilderinterconnectAttachment(String interconnectAttachment)Sets the value ofComputeHaVpnGatewayVpnInterfaces.getInterconnectAttachment()
-
-
-
Method Detail
-
id
@Stability(Stable) public ComputeHaVpnGatewayVpnInterfaces.Builder id(Number id)
Sets the value ofComputeHaVpnGatewayVpnInterfaces.getId()- Parameters:
id- The numeric ID of this VPN gateway interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_ha_vpn_gateway#id ComputeHaVpnGateway#id} Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
interconnectAttachment
@Stability(Stable) public ComputeHaVpnGatewayVpnInterfaces.Builder interconnectAttachment(String interconnectAttachment)
Sets the value ofComputeHaVpnGatewayVpnInterfaces.getInterconnectAttachment()- Parameters:
interconnectAttachment- URL of the interconnect attachment resource. When the value of this field is present, the VPN Gateway will be used for IPsec-encrypted Cloud Interconnect; all Egress or Ingress traffic for this VPN Gateway interface will go through the specified interconnect attachment resource. Not currently available publicly. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_ha_vpn_gateway#interconnect_attachment ComputeHaVpnGateway#interconnect_attachment}- Returns:
this
-
build
@Stability(Stable) public ComputeHaVpnGatewayVpnInterfaces build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeHaVpnGatewayVpnInterfaces>- Returns:
- a new instance of
ComputeHaVpnGatewayVpnInterfaces - Throws:
NullPointerException- if any required attribute was not provided
-
-