toValue method

String toValue()

Implementation

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