public static final class FlexSeparatorComponent.Builder
extends java.lang.Object
FlexSeparatorComponent builder static inner class.| Modifier and Type | Method and Description |
|---|---|
FlexSeparatorComponent |
build()
Returns a
FlexSeparatorComponent built from the parameters previously set. |
FlexSeparatorComponent.Builder |
setColor(java.lang.String color)
Sets the
color and returns a reference to this Builder so that the methods can be chained together. |
FlexSeparatorComponent.Builder |
setMargin(FlexMessageComponent.Margin margin)
Sets the
margin and returns a reference to this Builder so that the methods can be chained together. |
public FlexSeparatorComponent.Builder setMargin(@Nullable FlexMessageComponent.Margin margin)
margin and returns a reference to this Builder so that the methods can be chained together.margin - the margin to setpublic FlexSeparatorComponent.Builder setColor(@Nullable java.lang.String color)
color and returns a reference to this Builder so that the methods can be chained together.color - the color to setpublic FlexSeparatorComponent build()
FlexSeparatorComponent built from the parameters previously set.FlexSeparatorComponent built with parameters of this FlexSeparatorComponent.Builder