Class ComputeNodeGroupAutoscalingPolicy.Jsii$Proxy

    • 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.
    • Method Detail

      • getMaxNodes

        public final Number getMaxNodes()
        Description copied from interface: ComputeNodeGroupAutoscalingPolicy
        Maximum 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:
        getMaxNodes in interface ComputeNodeGroupAutoscalingPolicy
      • getMinNodes

        public final Number getMinNodes()
        Description copied from interface: ComputeNodeGroupAutoscalingPolicy
        Minimum 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:
        getMinNodes in interface ComputeNodeGroupAutoscalingPolicy
      • getMode

        public final String getMode()
        Description copied from interface: ComputeNodeGroupAutoscalingPolicy
        The 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:
        getMode in interface ComputeNodeGroupAutoscalingPolicy
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object