toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case VariantPropertyType.desiredInstanceCount:
      return 'DesiredInstanceCount';
    case VariantPropertyType.desiredWeight:
      return 'DesiredWeight';
    case VariantPropertyType.dataCaptureConfig:
      return 'DataCaptureConfig';
  }
}