toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case TrafficRoutingConfigType.allAtOnce:
      return 'ALL_AT_ONCE';
    case TrafficRoutingConfigType.canary:
      return 'CANARY';
  }
}