toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ProvisionedProductStatus.available:
      return 'AVAILABLE';
    case ProvisionedProductStatus.underChange:
      return 'UNDER_CHANGE';
    case ProvisionedProductStatus.tainted:
      return 'TAINTED';
    case ProvisionedProductStatus.error:
      return 'ERROR';
    case ProvisionedProductStatus.planInProgress:
      return 'PLAN_IN_PROGRESS';
  }
}