Class ComputeInstanceGroupManagerVersionTargetSize.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_instance_group_manager.ComputeInstanceGroupManagerVersionTargetSize.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeInstanceGroupManagerVersionTargetSize,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeInstanceGroupManagerVersionTargetSize
@Stability(Stable) @Internal public static final class ComputeInstanceGroupManagerVersionTargetSize.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeInstanceGroupManagerVersionTargetSize
An implementation forComputeInstanceGroupManagerVersionTargetSize
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.compute_instance_group_manager.ComputeInstanceGroupManagerVersionTargetSize
ComputeInstanceGroupManagerVersionTargetSize.Builder, ComputeInstanceGroupManagerVersionTargetSize.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeInstanceGroupManagerVersionTargetSize.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeInstanceGroupManagerVersionTargetSize.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)NumbergetFixed()The number of instances which are managed for this version.NumbergetPercent()The number of instances (calculated as percentage) which are managed for this version.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(ComputeInstanceGroupManagerVersionTargetSize.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeInstanceGroupManagerVersionTargetSize.Builder.
-
-
Method Detail
-
getFixed
public final Number getFixed()
Description copied from interface:ComputeInstanceGroupManagerVersionTargetSizeThe number of instances which are managed for this version. Conflicts with percent.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_group_manager#fixed ComputeInstanceGroupManager#fixed}
- Specified by:
getFixedin interfaceComputeInstanceGroupManagerVersionTargetSize
-
getPercent
public final Number getPercent()
Description copied from interface:ComputeInstanceGroupManagerVersionTargetSizeThe number of instances (calculated as percentage) which are managed for this version.Conflicts with fixed. Note that when using percent, rounding will be in favor of explicitly set target_size values; a managed instance group with 2 instances and 2 versions, one of which has a target_size.percent of 60 will create 2 instances of that version. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_group_manager#percent ComputeInstanceGroupManager#percent}
- Specified by:
getPercentin interfaceComputeInstanceGroupManagerVersionTargetSize
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-