toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case FileSystemLifecycle.available:
      return 'AVAILABLE';
    case FileSystemLifecycle.creating:
      return 'CREATING';
    case FileSystemLifecycle.failed:
      return 'FAILED';
    case FileSystemLifecycle.deleting:
      return 'DELETING';
    case FileSystemLifecycle.misconfigured:
      return 'MISCONFIGURED';
    case FileSystemLifecycle.updating:
      return 'UPDATING';
  }
}