Class ComputeNodeGroupAutoscalingPolicy.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_node_group.ComputeNodeGroupAutoscalingPolicy.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeNodeGroupAutoscalingPolicy,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeNodeGroupAutoscalingPolicy
@Stability(Stable) @Internal public static final class ComputeNodeGroupAutoscalingPolicy.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeNodeGroupAutoscalingPolicy
An implementation forComputeNodeGroupAutoscalingPolicy
-
-
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_node_group.ComputeNodeGroupAutoscalingPolicy
ComputeNodeGroupAutoscalingPolicy.Builder, ComputeNodeGroupAutoscalingPolicy.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeNodeGroupAutoscalingPolicy.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeNodeGroupAutoscalingPolicy.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)NumbergetMaxNodes()Maximum size of the node group.NumbergetMinNodes()Minimum size of the node group.StringgetMode()The autoscaling mode.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(ComputeNodeGroupAutoscalingPolicy.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeNodeGroupAutoscalingPolicy.Builder.
-
-
Method Detail
-
getMaxNodes
public final Number getMaxNodes()
Description copied from interface:ComputeNodeGroupAutoscalingPolicyMaximum size of the node group.Set to a value less than or equal to 100 and greater than or equal to min-nodes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_node_group#max_nodes ComputeNodeGroup#max_nodes}
- Specified by:
getMaxNodesin interfaceComputeNodeGroupAutoscalingPolicy
-
getMinNodes
public final Number getMinNodes()
Description copied from interface:ComputeNodeGroupAutoscalingPolicyMinimum size of the node group. Must be less than or equal to max-nodes. The default value is 0.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_node_group#min_nodes ComputeNodeGroup#min_nodes}
- Specified by:
getMinNodesin interfaceComputeNodeGroupAutoscalingPolicy
-
getMode
public final String getMode()
Description copied from interface:ComputeNodeGroupAutoscalingPolicyThe autoscaling mode.Set to one of the following: * OFF: Disables the autoscaler. * ON: Enables scaling in and scaling out. * ONLY_SCALE_OUT: Enables only scaling out. You must use this mode if your node groups are configured to restart their hosted VMs on minimal servers. Possible values: ["OFF", "ON", "ONLY_SCALE_OUT"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_node_group#mode ComputeNodeGroup#mode}
- Specified by:
getModein interfaceComputeNodeGroupAutoscalingPolicy
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-