toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case LustreDeploymentType.scratch_1:
      return 'SCRATCH_1';
    case LustreDeploymentType.scratch_2:
      return 'SCRATCH_2';
    case LustreDeploymentType.persistent_1:
      return 'PERSISTENT_1';
  }
}