toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case EnvironmentType.windowsContainer:
      return 'WINDOWS_CONTAINER';
    case EnvironmentType.linuxContainer:
      return 'LINUX_CONTAINER';
    case EnvironmentType.linuxGpuContainer:
      return 'LINUX_GPU_CONTAINER';
    case EnvironmentType.armContainer:
      return 'ARM_CONTAINER';
    case EnvironmentType.windowsServer_2019Container:
      return 'WINDOWS_SERVER_2019_CONTAINER';
  }
}