/** * Generates a new random ResourceManagerId. */ public static ResourceManagerId generate() { return new ResourceManagerId(); }
/** * Creates a ResourceManagerId that corresponds to the given UUID. */ public static ResourceManagerId fromUuid(UUID uuid) { return new ResourceManagerId(uuid); }
/** * Creates a ResourceManagerId that corresponds to the given UUID. */ public static ResourceManagerId fromUuid(UUID uuid) { return new ResourceManagerId(uuid); }
/** * Creates a ResourceManagerId that corresponds to the given UUID. */ public static ResourceManagerId fromUuid(UUID uuid) { return new ResourceManagerId(uuid); }
/** * Generates a new random ResourceManagerId. */ public static ResourceManagerId generate() { return new ResourceManagerId(); }
/** * Generates a new random ResourceManagerId. */ public static ResourceManagerId generate() { return new ResourceManagerId(); }
/** * If the given uuid is null, this returns null, otherwise a ResourceManagerId that * corresponds to the UUID, via {@link #ResourceManagerId(UUID)}. */ public static ResourceManagerId fromUuidOrNull(@Nullable UUID uuid) { return uuid == null ? null : new ResourceManagerId(uuid); } }
/** * If the given uuid is null, this returns null, otherwise a ResourceManagerId that * corresponds to the UUID, via {@link #ResourceManagerId(UUID)}. */ public static ResourceManagerId fromUuidOrNull(@Nullable UUID uuid) { return uuid == null ? null : new ResourceManagerId(uuid); } }
/** * If the given uuid is null, this returns null, otherwise a ResourceManagerId that * corresponds to the UUID, via {@link #ResourceManagerId(UUID)}. */ public static ResourceManagerId fromUuidOrNull(@Nullable UUID uuid) { return uuid == null ? null : new ResourceManagerId(uuid); } }