toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case S3ServerSideEncryptionType.serverSideEncryptionS3:
      return 'SERVER_SIDE_ENCRYPTION_S3';
    case S3ServerSideEncryptionType.serverSideEncryptionKms:
      return 'SERVER_SIDE_ENCRYPTION_KMS';
  }
}