Class FontSetting.Builder

java.lang.Object
com.ibm.watson.discovery.v1.model.FontSetting.Builder
Enclosing class:
FontSetting

public static class FontSetting.Builder
extends Object
Builder.
  • Constructor Details

    • Builder

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

    • build

      public FontSetting build()
      Builds a FontSetting.
      Returns:
      the new FontSetting instance
    • level

      public FontSetting.Builder level​(long level)
      Set the level.
      Parameters:
      level - the level
      Returns:
      the FontSetting builder
    • minSize

      public FontSetting.Builder minSize​(long minSize)
      Set the minSize.
      Parameters:
      minSize - the minSize
      Returns:
      the FontSetting builder
    • maxSize

      public FontSetting.Builder maxSize​(long maxSize)
      Set the maxSize.
      Parameters:
      maxSize - the maxSize
      Returns:
      the FontSetting builder
    • bold

      public FontSetting.Builder bold​(Boolean bold)
      Set the bold.
      Parameters:
      bold - the bold
      Returns:
      the FontSetting builder
    • italic

      public FontSetting.Builder italic​(Boolean italic)
      Set the italic.
      Parameters:
      italic - the italic
      Returns:
      the FontSetting builder
    • name

      public FontSetting.Builder name​(String name)
      Set the name.
      Parameters:
      name - the name
      Returns:
      the FontSetting builder