Class ComputeInstanceGroupManagerStatefulExternalIp.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_instance_group_manager.ComputeInstanceGroupManagerStatefulExternalIp.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeInstanceGroupManagerStatefulExternalIp>
- Enclosing interface:
- ComputeInstanceGroupManagerStatefulExternalIp
@Stability(Stable) public static final class ComputeInstanceGroupManagerStatefulExternalIp.Builder extends Object implements software.amazon.jsii.Builder<ComputeInstanceGroupManagerStatefulExternalIp>
A builder forComputeInstanceGroupManagerStatefulExternalIp
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeInstanceGroupManagerStatefulExternalIpbuild()Builds the configured instance.ComputeInstanceGroupManagerStatefulExternalIp.BuilderdeleteRule(String deleteRule)Sets the value ofComputeInstanceGroupManagerStatefulExternalIp.getDeleteRule()ComputeInstanceGroupManagerStatefulExternalIp.BuilderinterfaceName(String interfaceName)Sets the value ofComputeInstanceGroupManagerStatefulExternalIp.getInterfaceName()
-
-
-
Method Detail
-
deleteRule
@Stability(Stable) public ComputeInstanceGroupManagerStatefulExternalIp.Builder deleteRule(String deleteRule)
Sets the value ofComputeInstanceGroupManagerStatefulExternalIp.getDeleteRule()- Parameters:
deleteRule- A value that prescribes what should happen to an associated static Address resource when a VM instance is permanently deleted. The available options are NEVER and ON_PERMANENT_INSTANCE_DELETION. NEVER - detach the IP when the VM is deleted, but do not delete the address resource. ON_PERMANENT_INSTANCE_DELETION will delete the stateful address when the VM is permanently deleted from the instance group. The default is NEVER. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_group_manager#delete_rule ComputeInstanceGroupManager#delete_rule}- Returns:
this
-
interfaceName
@Stability(Stable) public ComputeInstanceGroupManagerStatefulExternalIp.Builder interfaceName(String interfaceName)
Sets the value ofComputeInstanceGroupManagerStatefulExternalIp.getInterfaceName()- Parameters:
interfaceName- The network interface name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_group_manager#interface_name ComputeInstanceGroupManager#interface_name}- Returns:
this
-
build
@Stability(Stable) public ComputeInstanceGroupManagerStatefulExternalIp build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeInstanceGroupManagerStatefulExternalIp>- Returns:
- a new instance of
ComputeInstanceGroupManagerStatefulExternalIp - Throws:
NullPointerException- if any required attribute was not provided
-
-