code: @Override
      public void set_attribute_config_5(final AttributeConfig_5[] newConf, final ClntIdent clIdent) throws DevFailed {
          MDC.setContextMap(contextMap);
          xlogger.entry();
          checkInitialization();
          clientIdentity.set(clIdent);
          if (!name.equalsIgnoreCase(getAdminDeviceName())) {
              clientLocking.checkClientLocking(clIdent);
          }
  
          deviceMonitoring.startRequest("set_attribute_config_5", clIdent);
          for (final AttributeConfig_5 attributeConfig : newConf) {
              final String attributeName = attributeConfig.name;
  
              final AttributeImpl attribute = AttributeGetterSetter.getAttribute(attributeName, attributeList);
              if (attribute.getName().equals(STATE_NAME) || attribute.getName().equals(STATUS_NAME)) {
                  throw DevFailedUtils.newDevFailed("set attribute is not possible for " + attribute.getName());
              }
              if (!attribute.getFormat().equals(attributeConfig.data_format)
                      || !attribute.getWritable().equals(attributeConfig.writable)
                      || !attribute.getDispLevel().equals(attributeConfig.level)
                      || attribute.getTangoType() != attributeConfig.data_type) {
                  throw DevFailedUtils.newDevFailed(ExceptionMessages.ATTR_NOT_ALLOWED, "not a good config");
              }
  
              final AttributePropertiesImpl props = TangoIDLAttributeUtil.toAttributeProperties(attributeConfig);
              logger.debug("set_attribute_config_5: {}", props);
              if (!attribute.getProperties().isEnumMutable()
                      && !Arrays.equals(attribute.getProperties().getEnumLabels(), props.getEnumLabels())) {
                  throw DevFailedUtils
                          .newDevFailed(ExceptionMessages.NOT_SUPPORTED_FEATURE,
                                  "It's not supported to change enumeration labels number from outside the Tango device class code");
              }
              attribute.setProperties(props);
          }
          xlogger.exit();
      }
docs: Set some attribute configs. IDL5 version
  
  @param newConf the new configurations
  @param clIdent client id
  @throws DevFailed