class DeviceKey extends AbstractAnnotated {

    public static DeviceKey createDeviceKeyUsingCommunityName(DeviceKeyId id, String label, String name) {
        DefaultAnnotations annotations = builder().set(AnnotationKeys.NAME, name).build();

        return new DeviceKey(id, label, Type.COMMUNITY_NAME, annotations);
    }

      DeviceKey();
    private  DeviceKey(DeviceKeyId id, String label, Type type, Annotations... annotations);

}