toValue method

String toValue()

Implementation

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