toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ProductType.cloudFormationTemplate:
      return 'CLOUD_FORMATION_TEMPLATE';
    case ProductType.marketplace:
      return 'MARKETPLACE';
  }
}