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