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.Builder
bold(Boolean bold)
Set the bold.FontSetting
build()
Builds a FontSetting.FontSetting.Builder
italic(Boolean italic)
Set the italic.FontSetting.Builder
level(long level)
Set the level.FontSetting.Builder
maxSize(long maxSize)
Set the maxSize.FontSetting.Builder
minSize(long minSize)
Set the minSize.FontSetting.Builder
name(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
-