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 Details

    • aliases

      @NotNull T aliases(@Nullable @Nullable List<String> aliases)
      Sets the aliases of the emoji.
      Parameters:
      aliases - a list of alias strings, or null for none
      Returns:
      this builder
    • aliases

      @NotNull default T aliases(String... aliases)
      Sets the aliases of the emoji.
      Parameters:
      aliases - alias strings
      Returns:
      this builder
    • build

      Builds a new Emoji instance.
      Returns:
      the constructed emoji