public void update(KerberosConfigurationDescriptor updates) {
    if (updates != null) {
      setType(updates.getType());

      Map<String, String> updatedProperties = updates.getProperties();
      if (updatedProperties != null) {
        for (Map.Entry<String, String> entry : updatedProperties.entrySet()) {
          putProperty(entry.getKey(), entry.getValue());
        }
      }
    }
  }
Updates this KerberosConfigurationDescriptor with data from another KerberosConfigurationDescriptor
<p/>
Properties will be updated if the relevant updated values are not null.

@param updates the KerberosConfigurationDescriptor containing the updated values
ambari-server/src/main/java/org/apache/ambari/server/state/kerberos/KerberosConfigurationDescriptor.java