toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case StorageType.s3:
      return 'S3';
    case StorageType.kinesisVideoStream:
      return 'KINESIS_VIDEO_STREAM';
    case StorageType.kinesisStream:
      return 'KINESIS_STREAM';
    case StorageType.kinesisFirehose:
      return 'KINESIS_FIREHOSE';
  }
}