toValue method
Implementation
String toValue() {
switch (this) {
case BalancingStrategy.spotOnly:
return 'SPOT_ONLY';
case BalancingStrategy.spotPreferred:
return 'SPOT_PREFERRED';
case BalancingStrategy.onDemandOnly:
return 'ON_DEMAND_ONLY';
}
}