Package com.intercom.api.types
Class TextAreaComponent.Builder
java.lang.Object
com.intercom.api.types.TextAreaComponent.Builder
- All Implemented Interfaces:
TextAreaComponent._FinalStage,TextAreaComponent.IdStage
- Enclosing class:
TextAreaComponent
public static final class TextAreaComponent.Builder
extends Object
implements TextAreaComponent.IdStage, TextAreaComponent._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Styles the input and prevents the action.Styles the input as failed.from(TextAreaComponent other) A unique identifier for the component.The text shown above the text area.placeholder(String placeholder) An example value shown inside the component when it's empty.placeholder(Optional<String> placeholder) An entered value which is already inside the component.
-
Method Details
-
from
- Specified by:
fromin interfaceTextAreaComponent.IdStage
-
id
A unique identifier for the component.
- Specified by:
idin interfaceTextAreaComponent.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
disabled
Styles the input and prevents the action. Default is false.
- Specified by:
disabledin interfaceTextAreaComponent._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
disabled
- Specified by:
disabledin interfaceTextAreaComponent._FinalStage
-
error
Styles the input as failed. Default is false.
- Specified by:
errorin interfaceTextAreaComponent._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
error
- Specified by:
errorin interfaceTextAreaComponent._FinalStage
-
value
An entered value which is already inside the component.
- Specified by:
valuein interfaceTextAreaComponent._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
value
- Specified by:
valuein interfaceTextAreaComponent._FinalStage
-
placeholder
An example value shown inside the component when it's empty.
- Specified by:
placeholderin interfaceTextAreaComponent._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
placeholder
- Specified by:
placeholderin interfaceTextAreaComponent._FinalStage
-
label
The text shown above the text area.
- Specified by:
labelin interfaceTextAreaComponent._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
label
- Specified by:
labelin interfaceTextAreaComponent._FinalStage
-
build
- Specified by:
buildin interfaceTextAreaComponent._FinalStage
-