toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case S3EncryptionMode.disabled:
      return 'DISABLED';
    case S3EncryptionMode.sseKms:
      return 'SSE-KMS';
    case S3EncryptionMode.sseS3:
      return 'SSE-S3';
  }
}