Package com.intercom.api.types
Interface TextComponent._FinalStage
-
- All Known Implementing Classes:
TextComponent.Builder
- Enclosing class:
- TextComponent
public static interface TextComponent._FinalStage
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TextComponent._FinalStagealign(TextComponent.Align align)TextComponent._FinalStagealign(java.util.Optional<TextComponent.Align> align)Aligns the text.TextComponent._FinalStagebottomMargin(java.lang.String bottomMargin)TextComponent._FinalStagebottomMargin(java.util.Optional<java.lang.String> bottomMargin)Disables a component's margin-bottom of 10px.TextComponentbuild()TextComponent._FinalStageid(java.lang.String id)TextComponent._FinalStageid(java.util.Optional<java.lang.String> id)A unique identifier for the component.TextComponent._FinalStagestyle(TextComponent.Style style)TextComponent._FinalStagestyle(java.util.Optional<TextComponent.Style> style)Styles the text.
-
-
-
Method Detail
-
build
TextComponent build()
-
id
TextComponent._FinalStage id(java.util.Optional<java.lang.String> id)
A unique identifier for the component.
-
id
TextComponent._FinalStage id(java.lang.String id)
-
align
TextComponent._FinalStage align(java.util.Optional<TextComponent.Align> align)
Aligns the text. Default is
left.
-
align
TextComponent._FinalStage align(TextComponent.Align align)
-
style
TextComponent._FinalStage style(java.util.Optional<TextComponent.Style> style)
Styles the text. Default is
paragraph.
-
style
TextComponent._FinalStage style(TextComponent.Style style)
-
bottomMargin
TextComponent._FinalStage bottomMargin(java.util.Optional<java.lang.String> bottomMargin)
Disables a component's margin-bottom of 10px.
-
bottomMargin
TextComponent._FinalStage bottomMargin(java.lang.String bottomMargin)
-
-