Class ComputeInstanceNetworkInterfaceAccessConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_instance.ComputeInstanceNetworkInterfaceAccessConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeInstanceNetworkInterfaceAccessConfig>
- Enclosing interface:
- ComputeInstanceNetworkInterfaceAccessConfig
@Stability(Stable) public static final class ComputeInstanceNetworkInterfaceAccessConfig.Builder extends Object implements software.amazon.jsii.Builder<ComputeInstanceNetworkInterfaceAccessConfig>
A builder forComputeInstanceNetworkInterfaceAccessConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeInstanceNetworkInterfaceAccessConfigbuild()Builds the configured instance.ComputeInstanceNetworkInterfaceAccessConfig.BuildernatIp(String natIp)Sets the value ofComputeInstanceNetworkInterfaceAccessConfig.getNatIp()ComputeInstanceNetworkInterfaceAccessConfig.BuildernetworkTier(String networkTier)Sets the value ofComputeInstanceNetworkInterfaceAccessConfig.getNetworkTier()ComputeInstanceNetworkInterfaceAccessConfig.BuilderpublicPtrDomainName(String publicPtrDomainName)Sets the value ofComputeInstanceNetworkInterfaceAccessConfig.getPublicPtrDomainName()
-
-
-
Method Detail
-
natIp
@Stability(Stable) public ComputeInstanceNetworkInterfaceAccessConfig.Builder natIp(String natIp)
Sets the value ofComputeInstanceNetworkInterfaceAccessConfig.getNatIp()- Parameters:
natIp- The IP address that is be 1:1 mapped to the instance's network ip. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#nat_ip ComputeInstance#nat_ip}- Returns:
this
-
networkTier
@Stability(Stable) public ComputeInstanceNetworkInterfaceAccessConfig.Builder networkTier(String networkTier)
Sets the value ofComputeInstanceNetworkInterfaceAccessConfig.getNetworkTier()- Parameters:
networkTier- The networking tier used for configuring this instance. One of PREMIUM or STANDARD. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#network_tier ComputeInstance#network_tier}- Returns:
this
-
publicPtrDomainName
@Stability(Stable) public ComputeInstanceNetworkInterfaceAccessConfig.Builder publicPtrDomainName(String publicPtrDomainName)
Sets the value ofComputeInstanceNetworkInterfaceAccessConfig.getPublicPtrDomainName()- Parameters:
publicPtrDomainName- The DNS domain name for the public PTR record. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#public_ptr_domain_name ComputeInstance#public_ptr_domain_name}- Returns:
this
-
build
@Stability(Stable) public ComputeInstanceNetworkInterfaceAccessConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeInstanceNetworkInterfaceAccessConfig>- Returns:
- a new instance of
ComputeInstanceNetworkInterfaceAccessConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-