Class ComputeInstanceTemplateNetworkInterfaceAliasIpRange.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_instance_template.ComputeInstanceTemplateNetworkInterfaceAliasIpRange.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeInstanceTemplateNetworkInterfaceAliasIpRange>
- Enclosing interface:
- ComputeInstanceTemplateNetworkInterfaceAliasIpRange
@Stability(Stable) public static final class ComputeInstanceTemplateNetworkInterfaceAliasIpRange.Builder extends Object implements software.amazon.jsii.Builder<ComputeInstanceTemplateNetworkInterfaceAliasIpRange>
A builder forComputeInstanceTemplateNetworkInterfaceAliasIpRange
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeInstanceTemplateNetworkInterfaceAliasIpRangebuild()Builds the configured instance.ComputeInstanceTemplateNetworkInterfaceAliasIpRange.BuilderipCidrRange(String ipCidrRange)Sets the value ofComputeInstanceTemplateNetworkInterfaceAliasIpRange.getIpCidrRange()ComputeInstanceTemplateNetworkInterfaceAliasIpRange.BuildersubnetworkRangeName(String subnetworkRangeName)
-
-
-
Method Detail
-
ipCidrRange
@Stability(Stable) public ComputeInstanceTemplateNetworkInterfaceAliasIpRange.Builder ipCidrRange(String ipCidrRange)
Sets the value ofComputeInstanceTemplateNetworkInterfaceAliasIpRange.getIpCidrRange()- Parameters:
ipCidrRange- The IP CIDR range represented by this alias IP range. This parameter is required. This IP CIDR range must belong to the specified subnetwork and cannot contain IP addresses reserved by system or used by other network interfaces. At the time of writing only a netmask (e.g. /24) may be supplied, with a CIDR format resulting in an API error. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#ip_cidr_range ComputeInstanceTemplate#ip_cidr_range}- Returns:
this
-
subnetworkRangeName
@Stability(Stable) public ComputeInstanceTemplateNetworkInterfaceAliasIpRange.Builder subnetworkRangeName(String subnetworkRangeName)
- Parameters:
subnetworkRangeName- The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range. If left unspecified, the primary range of the subnetwork will be used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#subnetwork_range_name ComputeInstanceTemplate#subnetwork_range_name}- Returns:
this
-
build
@Stability(Stable) public ComputeInstanceTemplateNetworkInterfaceAliasIpRange build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeInstanceTemplateNetworkInterfaceAliasIpRange>- Returns:
- a new instance of
ComputeInstanceTemplateNetworkInterfaceAliasIpRange - Throws:
NullPointerException- if any required attribute was not provided
-
-