toJson method
Implementation
Map<String, dynamic> toJson() {
final objectEncryptionType = this.objectEncryptionType;
final kmsKeyArn = this.kmsKeyArn;
return {
'ObjectEncryptionType': objectEncryptionType.toValue(),
if (kmsKeyArn != null) 'KmsKeyArn': kmsKeyArn,
};
}