core.Map<core.String, core.dynamic> toJson() => { if (kmsKeyName != null) 'kmsKeyName': kmsKeyName!, if (kmsKeyNames != null) 'kmsKeyNames': kmsKeyNames!, };