toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case S3StorageClass.standard:
      return 'STANDARD';
    case S3StorageClass.standardIa:
      return 'STANDARD_IA';
    case S3StorageClass.onezoneIa:
      return 'ONEZONE_IA';
    case S3StorageClass.glacier:
      return 'GLACIER';
    case S3StorageClass.intelligentTiering:
      return 'INTELLIGENT_TIERING';
    case S3StorageClass.deepArchive:
      return 'DEEP_ARCHIVE';
  }
}