All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.model.NodeGroupAutoscalingPolicy.html Maven / Gradle / Ivy







NodeGroupAutoscalingPolicy (Compute Engine API beta-rev20220726-2.0.0)












com.google.api.services.compute.model

Class NodeGroupAutoscalingPolicy

    • Constructor Detail

      • NodeGroupAutoscalingPolicy

        public NodeGroupAutoscalingPolicy()
    • Method Detail

      • getMaxNodes

        public Integer getMaxNodes()
        The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100.
        Returns:
        value or null for none
      • setMaxNodes

        public NodeGroupAutoscalingPolicy setMaxNodes(Integer maxNodes)
        The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100.
        Parameters:
        maxNodes - maxNodes or null for none
      • getMinNodes

        public Integer getMinNodes()
        The minimum number of nodes that the group should have.
        Returns:
        value or null for none
      • setMinNodes

        public NodeGroupAutoscalingPolicy setMinNodes(Integer minNodes)
        The minimum number of nodes that the group should have.
        Parameters:
        minNodes - minNodes or null for none
      • getMode

        public String getMode()
        The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes.
        Returns:
        value or null for none
      • setMode

        public NodeGroupAutoscalingPolicy setMode(String mode)
        The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes.
        Parameters:
        mode - mode or null for none

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy