public InstanceInfo.Builder setAutoscalingConfig(AutoscalingConfig autoscalingConfig)
Sets the autoscaling config for the instance, which will enable the autoscaling for this
instance. Exactly one of processing units, node count, or autoscaling config must be set when
creating a new instance.
public InstanceInfo.Builder setProcessingUnits(int processingUnits)
Sets the number of processing units for the instance. Exactly one of processing units, node
count, or autoscaling config must be set when creating a new instance. Processing units must
be between 1 and 999 (inclusive) when creating a new instance with node count = 0. Processing
units from 1000 and up must always be a multiple of 1000 (that is equal to an integer number
of nodes).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-19 UTC."],[],[]]