Class ComputeRegionPerInstanceConfigPreservedStateInternalIp.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_region_per_instance_config.ComputeRegionPerInstanceConfigPreservedStateInternalIp.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeRegionPerInstanceConfigPreservedStateInternalIp>
- Enclosing interface:
- ComputeRegionPerInstanceConfigPreservedStateInternalIp
@Stability(Stable) public static final class ComputeRegionPerInstanceConfigPreservedStateInternalIp.Builder extends Object implements software.amazon.jsii.Builder<ComputeRegionPerInstanceConfigPreservedStateInternalIp>
A builder forComputeRegionPerInstanceConfigPreservedStateInternalIp
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeRegionPerInstanceConfigPreservedStateInternalIp.BuilderautoDelete(String autoDelete)Sets the value ofComputeRegionPerInstanceConfigPreservedStateInternalIp.getAutoDelete()ComputeRegionPerInstanceConfigPreservedStateInternalIpbuild()Builds the configured instance.ComputeRegionPerInstanceConfigPreservedStateInternalIp.BuilderinterfaceName(String interfaceName)ComputeRegionPerInstanceConfigPreservedStateInternalIp.BuilderipAddress(ComputeRegionPerInstanceConfigPreservedStateInternalIpIpAddress ipAddress)Sets the value ofComputeRegionPerInstanceConfigPreservedStateInternalIp.getIpAddress()
-
-
-
Method Detail
-
interfaceName
@Stability(Stable) public ComputeRegionPerInstanceConfigPreservedStateInternalIp.Builder interfaceName(String interfaceName)
- Parameters:
interfaceName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_per_instance_config#interface_name ComputeRegionPerInstanceConfig#interface_name}. This parameter is required.- Returns:
this
-
autoDelete
@Stability(Stable) public ComputeRegionPerInstanceConfigPreservedStateInternalIp.Builder autoDelete(String autoDelete)
Sets the value ofComputeRegionPerInstanceConfigPreservedStateInternalIp.getAutoDelete()- Parameters:
autoDelete- These stateful IPs will never be released during autohealing, update or VM instance recreate operations. This flag is used to configure if the IP reservation should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is deleted. Default value: "NEVER" Possible values: ["NEVER", "ON_PERMANENT_INSTANCE_DELETION"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_per_instance_config#auto_delete ComputeRegionPerInstanceConfig#auto_delete}- Returns:
this
-
ipAddress
@Stability(Stable) public ComputeRegionPerInstanceConfigPreservedStateInternalIp.Builder ipAddress(ComputeRegionPerInstanceConfigPreservedStateInternalIpIpAddress ipAddress)
Sets the value ofComputeRegionPerInstanceConfigPreservedStateInternalIp.getIpAddress()- Parameters:
ipAddress- ip_address block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_per_instance_config#ip_address ComputeRegionPerInstanceConfig#ip_address}- Returns:
this
-
build
@Stability(Stable) public ComputeRegionPerInstanceConfigPreservedStateInternalIp build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeRegionPerInstanceConfigPreservedStateInternalIp>- Returns:
- a new instance of
ComputeRegionPerInstanceConfigPreservedStateInternalIp - Throws:
NullPointerException- if any required attribute was not provided
-
-