toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case IpSetStatus.inactive:
      return 'INACTIVE';
    case IpSetStatus.activating:
      return 'ACTIVATING';
    case IpSetStatus.active:
      return 'ACTIVE';
    case IpSetStatus.deactivating:
      return 'DEACTIVATING';
    case IpSetStatus.error:
      return 'ERROR';
    case IpSetStatus.deletePending:
      return 'DELETE_PENDING';
    case IpSetStatus.deleted:
      return 'DELETED';
  }
}