Class ComputeRegionInstanceTemplateNetworkInterfaceAccessConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_region_instance_template.ComputeRegionInstanceTemplateNetworkInterfaceAccessConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeRegionInstanceTemplateNetworkInterfaceAccessConfig>
- Enclosing interface:
- ComputeRegionInstanceTemplateNetworkInterfaceAccessConfig
@Stability(Stable) public static final class ComputeRegionInstanceTemplateNetworkInterfaceAccessConfig.Builder extends Object implements software.amazon.jsii.Builder<ComputeRegionInstanceTemplateNetworkInterfaceAccessConfig>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeRegionInstanceTemplateNetworkInterfaceAccessConfigbuild()Builds the configured instance.ComputeRegionInstanceTemplateNetworkInterfaceAccessConfig.BuildernatIp(String natIp)Sets the value ofComputeRegionInstanceTemplateNetworkInterfaceAccessConfig.getNatIp()ComputeRegionInstanceTemplateNetworkInterfaceAccessConfig.BuildernetworkTier(String networkTier)
-
-
-
Method Detail
-
natIp
@Stability(Stable) public ComputeRegionInstanceTemplateNetworkInterfaceAccessConfig.Builder natIp(String natIp)
Sets the value ofComputeRegionInstanceTemplateNetworkInterfaceAccessConfig.getNatIp()- Parameters:
natIp- The IP address that will be 1:1 mapped to the instance's network ip. If not given, one will be generated. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_template#nat_ip ComputeRegionInstanceTemplate#nat_ip}- Returns:
this
-
networkTier
@Stability(Stable) public ComputeRegionInstanceTemplateNetworkInterfaceAccessConfig.Builder networkTier(String networkTier)
- Parameters:
networkTier- The networking tier used for configuring this instance template. This field can take the following values: PREMIUM, STANDARD, FIXED_STANDARD. If this field is not specified, it is assumed to be PREMIUM. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_template#network_tier ComputeRegionInstanceTemplate#network_tier}- Returns:
this
-
build
@Stability(Stable) public ComputeRegionInstanceTemplateNetworkInterfaceAccessConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeRegionInstanceTemplateNetworkInterfaceAccessConfig>- Returns:
- a new instance of
ComputeRegionInstanceTemplateNetworkInterfaceAccessConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-