Interface Mqtt5UserProperties
Collection of
User Properties.- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescription@Immutable @NotNull List<@NotNull ? extends Mqtt5UserProperty> asList()builder()Creates a builder for a collection of User Properties.extend()static @NotNull Mqtt5UserPropertiesof()static @NotNull Mqtt5UserPropertiesof(@NotNull Mqtt5UserProperty @NotNull ... userProperties) Creates a collection of User Properties of individual User Properties.static @NotNull Mqtt5UserPropertiesof(@NotNull Collection<@NotNull Mqtt5UserProperty> userProperties) Creates a collection of User Properties of a list of User Properties.
-
Method Details
-
of
- Returns:
- an empty collection of User Properties.
-
of
@NotNull static @NotNull Mqtt5UserProperties of(@NotNull @NotNull Mqtt5UserProperty @NotNull ... userProperties) Creates a collection of User Properties of individual User Properties.- Parameters:
userProperties- the individual User Properties.- Returns:
- the created collection of User Properties.
-
of
@NotNull static @NotNull Mqtt5UserProperties of(@NotNull @NotNull Collection<@NotNull Mqtt5UserProperty> userProperties) Creates a collection of User Properties of a list of User Properties.- Parameters:
userProperties- the list of User Properties.- Returns:
- the created collection of User Properties.
-
builder
Creates a builder for a collection of User Properties.- Returns:
- the created builder for a collection of User Properties.
-
asList
- Returns:
- the User Properties as an immutable list.
-
extend
- Returns:
- a builder for extending this collection of User Properties.
-