toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case CloudComponentState.requested:
      return 'REQUESTED';
    case CloudComponentState.initiated:
      return 'INITIATED';
    case CloudComponentState.deployable:
      return 'DEPLOYABLE';
    case CloudComponentState.failed:
      return 'FAILED';
    case CloudComponentState.deprecated:
      return 'DEPRECATED';
  }
}