Package ovh.mythmc.social.api.emoji
Interface Emoji.Builder<T extends Emoji.Builder<T>>
- Type Parameters:
T- the concrete builder type
- Enclosing interface:
Emoji
public static interface Emoji.Builder<T extends Emoji.Builder<T>>
A builder for constructing
Emoji instances.-
Method Summary
-
Method Details
-
aliases
Sets the aliases of the emoji.- Parameters:
aliases- a list of alias strings, ornullfor none- Returns:
- this builder
-
aliases
Sets the aliases of the emoji.- Parameters:
aliases- alias strings- Returns:
- this builder
-
build
Builds a newEmojiinstance.- Returns:
- the constructed emoji
-