Package ai.extend.types
Class CellFormatting.Builder
- java.lang.Object
-
- ai.extend.types.CellFormatting.Builder
-
- Enclosing class:
- CellFormatting
public static final class CellFormatting.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CellFormatting.BuilderbackgroundColor(java.lang.String backgroundColor)CellFormatting.BuilderbackgroundColor(java.util.Optional<java.lang.String> backgroundColor)Cell background color as a hex string.CellFormatting.Builderbold(java.lang.Boolean bold)CellFormatting.Builderbold(java.util.Optional<java.lang.Boolean> bold)Whether the cell text is bold.CellFormattingbuild()CellFormatting.BuilderfontColor(java.lang.String fontColor)CellFormatting.BuilderfontColor(java.util.Optional<java.lang.String> fontColor)Cell font color as a hex string.CellFormatting.Builderfrom(CellFormatting other)CellFormatting.Builderitalic(java.lang.Boolean italic)CellFormatting.Builderitalic(java.util.Optional<java.lang.Boolean> italic)Whether the cell text is italic.
-
-
-
Method Detail
-
from
public CellFormatting.Builder from(CellFormatting other)
-
bold
public CellFormatting.Builder bold(java.util.Optional<java.lang.Boolean> bold)
Whether the cell text is bold.
-
bold
public CellFormatting.Builder bold(java.lang.Boolean bold)
-
italic
public CellFormatting.Builder italic(java.util.Optional<java.lang.Boolean> italic)
Whether the cell text is italic.
-
italic
public CellFormatting.Builder italic(java.lang.Boolean italic)
-
fontColor
public CellFormatting.Builder fontColor(java.util.Optional<java.lang.String> fontColor)
Cell font color as a hex string.
-
fontColor
public CellFormatting.Builder fontColor(java.lang.String fontColor)
-
backgroundColor
public CellFormatting.Builder backgroundColor(java.util.Optional<java.lang.String> backgroundColor)
Cell background color as a hex string.
-
backgroundColor
public CellFormatting.Builder backgroundColor(java.lang.String backgroundColor)
-
build
public CellFormatting build()
-
-