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 Summary
Constructors Constructor Description Builder()Instantiates a new builder. -
Method Summary
Modifier and Type Method Description FontSetting.Builderbold(Boolean bold)Set the bold.FontSettingbuild()Builds a FontSetting.FontSetting.Builderitalic(Boolean italic)Set the italic.FontSetting.Builderlevel(long level)Set the level.FontSetting.BuildermaxSize(long maxSize)Set the maxSize.FontSetting.BuilderminSize(long minSize)Set the minSize.FontSetting.Buildername(String name)Set the name.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a FontSetting.- Returns:
- the new FontSetting instance
-
level
Set the level.- Parameters:
level- the level- Returns:
- the FontSetting builder
-
minSize
Set the minSize.- Parameters:
minSize- the minSize- Returns:
- the FontSetting builder
-
maxSize
Set the maxSize.- Parameters:
maxSize- the maxSize- Returns:
- the FontSetting builder
-
bold
Set the bold.- Parameters:
bold- the bold- Returns:
- the FontSetting builder
-
italic
Set the italic.- Parameters:
italic- the italic- Returns:
- the FontSetting builder
-
name
Set the name.- Parameters:
name- the name- Returns:
- the FontSetting builder
-