/** * Creates a new device for a tenant and device identifier. * * @param tenantId The tenant. * @param deviceId The device identifier. * @throws NullPointerException if any of the params is {@code null}. */ public Device(final String tenantId, final String deviceId) { super(); this.principal = getPrincipal(tenantId, deviceId); }
/** * Creates a new device for a tenant and device identifier. * * @param tenantId The tenant. * @param deviceId The device identifier. * @throws NullPointerException if any of the params is {@code null}. */ public Device(final String tenantId, final String deviceId) { super(); this.principal = getPrincipal(tenantId, deviceId); }