@Override public RetrieveFeatureDefinition setDittoHeaders(final DittoHeaders dittoHeaders) { return new RetrieveFeatureDefinition(thingId, featureId, dittoHeaders); }
/** * Returns a Command for retrieving a Feature's Definition on a Thing. * * @param thingId the {@code Thing}'s ID whose {@code Feature}'s Definition to retrieve. * @param featureId the {@code Feature}'s ID whose Definition to retrieve. * @param dittoHeaders the headers of the command. * @return a Command for retrieving the Definition of the specified Feature. * @throws NullPointerException if any argument but {@code thingId} is {@code null}. * @throws org.eclipse.ditto.model.things.ThingIdInvalidException if the parsed thing ID did not comply to * {@link org.eclipse.ditto.model.things.Thing#ID_REGEX}. */ public static RetrieveFeatureDefinition of(final String thingId, final String featureId, final DittoHeaders dittoHeaders) { return new RetrieveFeatureDefinition(thingId, featureId, dittoHeaders); }
@Override public RetrieveFeatureDefinition setDittoHeaders(final DittoHeaders dittoHeaders) { return new RetrieveFeatureDefinition(thingId, featureId, dittoHeaders); }
/** * Returns a Command for retrieving a Feature's Definition on a Thing. * * @param thingId the {@code Thing}'s ID whose {@code Feature}'s Definition to retrieve. * @param featureId the {@code Feature}'s ID whose Definition to retrieve. * @param dittoHeaders the headers of the command. * @return a Command for retrieving the Definition of the specified Feature. * @throws NullPointerException if any argument but {@code thingId} is {@code null}. * @throws org.eclipse.ditto.model.things.ThingIdInvalidException if the parsed thing ID did not comply to * {@link org.eclipse.ditto.model.things.Thing#ID_REGEX}. */ public static RetrieveFeatureDefinition of(final String thingId, final String featureId, final DittoHeaders dittoHeaders) { return new RetrieveFeatureDefinition(thingId, featureId, dittoHeaders); }