toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case NotebookInstanceAcceleratorType.mlEia1Medium:
      return 'ml.eia1.medium';
    case NotebookInstanceAcceleratorType.mlEia1Large:
      return 'ml.eia1.large';
    case NotebookInstanceAcceleratorType.mlEia1Xlarge:
      return 'ml.eia1.xlarge';
    case NotebookInstanceAcceleratorType.mlEia2Medium:
      return 'ml.eia2.medium';
    case NotebookInstanceAcceleratorType.mlEia2Large:
      return 'ml.eia2.large';
    case NotebookInstanceAcceleratorType.mlEia2Xlarge:
      return 'ml.eia2.xlarge';
  }
}