Class Bullets.Builder

  • Enclosing class:
    Bullets

    public static class Bullets.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
    • Method Detail

      • build

        public Bullets build()
        Builds a Bullets.
        Returns:
        the new Bullets instance
      • title

        public Bullets.Builder title​(java.lang.String title)
        Set the title.
        Parameters:
        title - the title
        Returns:
        the Bullets builder
      • description

        public Bullets.Builder description​(java.lang.String description)
        Set the description.
        Parameters:
        description - the description
        Returns:
        the Bullets builder
      • icon

        public Bullets.Builder icon​(java.lang.String icon)
        Set the icon.
        Parameters:
        icon - the icon
        Returns:
        the Bullets builder
      • quantity

        public Bullets.Builder quantity​(long quantity)
        Set the quantity.
        Parameters:
        quantity - the quantity
        Returns:
        the Bullets builder