toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ServerSideEncryptionTypes.awsKms:
      return 'aws:kms';
    case ServerSideEncryptionTypes.aes256:
      return 'AES256';
  }
}