Class ComputeRegionPerInstanceConfigPreservedStateExternalIp.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_region_per_instance_config.ComputeRegionPerInstanceConfigPreservedStateExternalIp.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeRegionPerInstanceConfigPreservedStateExternalIp>
- Enclosing interface:
- ComputeRegionPerInstanceConfigPreservedStateExternalIp
@Stability(Stable) public static final class ComputeRegionPerInstanceConfigPreservedStateExternalIp.Builder extends Object implements software.amazon.jsii.Builder<ComputeRegionPerInstanceConfigPreservedStateExternalIp>
A builder forComputeRegionPerInstanceConfigPreservedStateExternalIp
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeRegionPerInstanceConfigPreservedStateExternalIp.BuilderautoDelete(String autoDelete)Sets the value ofComputeRegionPerInstanceConfigPreservedStateExternalIp.getAutoDelete()ComputeRegionPerInstanceConfigPreservedStateExternalIpbuild()Builds the configured instance.ComputeRegionPerInstanceConfigPreservedStateExternalIp.BuilderinterfaceName(String interfaceName)ComputeRegionPerInstanceConfigPreservedStateExternalIp.BuilderipAddress(ComputeRegionPerInstanceConfigPreservedStateExternalIpIpAddress ipAddress)Sets the value ofComputeRegionPerInstanceConfigPreservedStateExternalIp.getIpAddress()
-
-
-
Method Detail
-
interfaceName
@Stability(Stable) public ComputeRegionPerInstanceConfigPreservedStateExternalIp.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 ComputeRegionPerInstanceConfigPreservedStateExternalIp.Builder autoDelete(String autoDelete)
Sets the value ofComputeRegionPerInstanceConfigPreservedStateExternalIp.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 ComputeRegionPerInstanceConfigPreservedStateExternalIp.Builder ipAddress(ComputeRegionPerInstanceConfigPreservedStateExternalIpIpAddress ipAddress)
Sets the value ofComputeRegionPerInstanceConfigPreservedStateExternalIp.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 ComputeRegionPerInstanceConfigPreservedStateExternalIp build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeRegionPerInstanceConfigPreservedStateExternalIp>- Returns:
- a new instance of
ComputeRegionPerInstanceConfigPreservedStateExternalIp - Throws:
NullPointerException- if any required attribute was not provided
-
-