Interface NodeGroupAutoscalingPolicyOrBuilder (1.25.0)

public interface NodeGroupAutoscalingPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMaxNodes()

public abstract int getMaxNodes()

The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100.

optional int32 max_nodes = 297762838;

Returns
TypeDescription
int

The maxNodes.

getMinNodes()

public abstract int getMinNodes()

The minimum number of nodes that the group should have.

optional int32 min_nodes = 533370500;

Returns
TypeDescription
int

The minNodes.

getMode()

public abstract String getMode()

The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes. Check the Mode enum for the list of possible values.

optional string mode = 3357091;

Returns
TypeDescription
String

The mode.

getModeBytes()

public abstract ByteString getModeBytes()

The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes. Check the Mode enum for the list of possible values.

optional string mode = 3357091;

Returns
TypeDescription
ByteString

The bytes for mode.

hasMaxNodes()

public abstract boolean hasMaxNodes()

The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100.

optional int32 max_nodes = 297762838;

Returns
TypeDescription
boolean

Whether the maxNodes field is set.

hasMinNodes()

public abstract boolean hasMinNodes()

The minimum number of nodes that the group should have.

optional int32 min_nodes = 533370500;

Returns
TypeDescription
boolean

Whether the minNodes field is set.

hasMode()

public abstract boolean hasMode()

The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes. Check the Mode enum for the list of possible values.

optional string mode = 3357091;

Returns
TypeDescription
boolean

Whether the mode field is set.