/** * Returns a builder for a command for retrieving the Things. * * @param thingIds one or more Thing IDs to be retrieved. * @return a builder for a Thing retrieving command. * @throws NullPointerException if {@code thingIds} is {@code null}. */ public static Builder getBuilder(final String... thingIds) { return new Builder(Arrays.asList(checkNotNull(thingIds, "thing ids"))); }
/** * Returns a builder for a command for retrieving the Things. * * @param thingIds one or more Thing IDs to be retrieved. * @return a builder for a Thing retrieving command. * @throws NullPointerException if {@code thingIds} is {@code null}. */ public static Builder getBuilder(final String... thingIds) { return new Builder(Arrays.asList(checkNotNull(thingIds, "thing ids"))); }
/** * Returns a builder for a command for retrieving the Things. * * @param thingIds the Thing IDs to be retrieved. * @return a builder for a Thing retrieving command. * @throws NullPointerException if {@code thingIds} is {@code null}. */ public static Builder getBuilder(final List<String> thingIds) { return new Builder(checkNotNull(thingIds, "thing ids")); }
/** * Returns a builder for a command for retrieving Things. The builder gets initialised with the data from the * specified RetrieveThings. * * @param retrieveThings a {@code RetrieveThings} object which acts as template for the new builder. * @return a builder for a Thing retrieving command. */ public static Builder getBuilder(final RetrieveThings retrieveThings) { return new Builder(retrieveThings); }
/** * Returns a builder for a command for retrieving Things. The builder gets initialised with the data from the * specified RetrieveThings. * * @param retrieveThings a {@code RetrieveThings} object which acts as template for the new builder. * @return a builder for a Thing retrieving command. */ public static Builder getBuilder(final RetrieveThings retrieveThings) { return new Builder(retrieveThings); }
/** * Returns a builder for a command for retrieving the Things. * * @param thingIds the Thing IDs to be retrieved. * @return a builder for a Thing retrieving command. * @throws NullPointerException if {@code thingIds} is {@code null}. */ public static Builder getBuilder(final List<String> thingIds) { return new Builder(checkNotNull(thingIds, "thing ids")); }