Class ComputeInstanceGroupManagerStatefulInternalIp.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_instance_group_manager.ComputeInstanceGroupManagerStatefulInternalIp.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeInstanceGroupManagerStatefulInternalIp>
- Enclosing interface:
- ComputeInstanceGroupManagerStatefulInternalIp
@Stability(Stable) public static final class ComputeInstanceGroupManagerStatefulInternalIp.Builder extends Object implements software.amazon.jsii.Builder<ComputeInstanceGroupManagerStatefulInternalIp>
A builder forComputeInstanceGroupManagerStatefulInternalIp
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeInstanceGroupManagerStatefulInternalIpbuild()Builds the configured instance.ComputeInstanceGroupManagerStatefulInternalIp.BuilderdeleteRule(String deleteRule)Sets the value ofComputeInstanceGroupManagerStatefulInternalIp.getDeleteRule()ComputeInstanceGroupManagerStatefulInternalIp.BuilderinterfaceName(String interfaceName)Sets the value ofComputeInstanceGroupManagerStatefulInternalIp.getInterfaceName()
-
-
-
Method Detail
-
deleteRule
@Stability(Stable) public ComputeInstanceGroupManagerStatefulInternalIp.Builder deleteRule(String deleteRule)
Sets the value ofComputeInstanceGroupManagerStatefulInternalIp.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 ComputeInstanceGroupManagerStatefulInternalIp.Builder interfaceName(String interfaceName)
Sets the value ofComputeInstanceGroupManagerStatefulInternalIp.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 ComputeInstanceGroupManagerStatefulInternalIp build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeInstanceGroupManagerStatefulInternalIp>- Returns:
- a new instance of
ComputeInstanceGroupManagerStatefulInternalIp - Throws:
NullPointerException- if any required attribute was not provided
-
-