Class ComputePerInstanceConfigPreservedStateInternalIp.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_per_instance_config.ComputePerInstanceConfigPreservedStateInternalIp.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputePerInstanceConfigPreservedStateInternalIp>
- Enclosing interface:
- ComputePerInstanceConfigPreservedStateInternalIp
@Stability(Stable) public static final class ComputePerInstanceConfigPreservedStateInternalIp.Builder extends Object implements software.amazon.jsii.Builder<ComputePerInstanceConfigPreservedStateInternalIp>
A builder forComputePerInstanceConfigPreservedStateInternalIp
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputePerInstanceConfigPreservedStateInternalIp.BuilderautoDelete(String autoDelete)Sets the value ofComputePerInstanceConfigPreservedStateInternalIp.getAutoDelete()ComputePerInstanceConfigPreservedStateInternalIpbuild()Builds the configured instance.ComputePerInstanceConfigPreservedStateInternalIp.BuilderinterfaceName(String interfaceName)Sets the value ofComputePerInstanceConfigPreservedStateInternalIp.getInterfaceName()ComputePerInstanceConfigPreservedStateInternalIp.BuilderipAddress(ComputePerInstanceConfigPreservedStateInternalIpIpAddress ipAddress)Sets the value ofComputePerInstanceConfigPreservedStateInternalIp.getIpAddress()
-
-
-
Method Detail
-
interfaceName
@Stability(Stable) public ComputePerInstanceConfigPreservedStateInternalIp.Builder interfaceName(String interfaceName)
Sets the value ofComputePerInstanceConfigPreservedStateInternalIp.getInterfaceName()- Parameters:
interfaceName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_per_instance_config#interface_name ComputePerInstanceConfig#interface_name}. This parameter is required.- Returns:
this
-
autoDelete
@Stability(Stable) public ComputePerInstanceConfigPreservedStateInternalIp.Builder autoDelete(String autoDelete)
Sets the value ofComputePerInstanceConfigPreservedStateInternalIp.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_per_instance_config#auto_delete ComputePerInstanceConfig#auto_delete}- Returns:
this
-
ipAddress
@Stability(Stable) public ComputePerInstanceConfigPreservedStateInternalIp.Builder ipAddress(ComputePerInstanceConfigPreservedStateInternalIpIpAddress ipAddress)
Sets the value ofComputePerInstanceConfigPreservedStateInternalIp.getIpAddress()- Parameters:
ipAddress- ip_address block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_per_instance_config#ip_address ComputePerInstanceConfig#ip_address}- Returns:
this
-
build
@Stability(Stable) public ComputePerInstanceConfigPreservedStateInternalIp build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputePerInstanceConfigPreservedStateInternalIp>- Returns:
- a new instance of
ComputePerInstanceConfigPreservedStateInternalIp - Throws:
NullPointerException- if any required attribute was not provided
-
-