Package com.intercom.api.types
Interface InputComponent._FinalStage
-
- All Known Implementing Classes:
InputComponent.Builder
- Enclosing class:
- InputComponent
public static interface InputComponent._FinalStage
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputComponent._FinalStageaction(ActionComponent action)InputComponent._FinalStageaction(java.util.Optional<ActionComponent> action)This can be a Submit Action, URL Action, or Sheets Action.InputComponentbuild()InputComponent._FinalStagedisabled(java.lang.Boolean disabled)InputComponent._FinalStagedisabled(java.util.Optional<java.lang.Boolean> disabled)Styles the input and prevents the action.InputComponent._FinalStagelabel(java.lang.String label)InputComponent._FinalStagelabel(java.util.Optional<java.lang.String> label)The text shown above the input.InputComponent._FinalStageplaceholder(java.lang.String placeholder)InputComponent._FinalStageplaceholder(java.util.Optional<java.lang.String> placeholder)An example value shown inside the component when it's empty.InputComponent._FinalStagesaveState(InputComponent.SaveState saveState)InputComponent._FinalStagesaveState(java.util.Optional<InputComponent.SaveState> saveState)Styles the input.InputComponent._FinalStagevalue(java.lang.String value)InputComponent._FinalStagevalue(java.util.Optional<java.lang.String> value)An entered value which is already inside the component.
-
-
-
Method Detail
-
build
InputComponent build()
-
label
InputComponent._FinalStage label(java.util.Optional<java.lang.String> label)
The text shown above the input.
-
label
InputComponent._FinalStage label(java.lang.String label)
-
placeholder
InputComponent._FinalStage placeholder(java.util.Optional<java.lang.String> placeholder)
An example value shown inside the component when it's empty.
-
placeholder
InputComponent._FinalStage placeholder(java.lang.String placeholder)
-
value
InputComponent._FinalStage value(java.util.Optional<java.lang.String> value)
An entered value which is already inside the component.
-
value
InputComponent._FinalStage value(java.lang.String value)
-
action
InputComponent._FinalStage action(java.util.Optional<ActionComponent> action)
This can be a Submit Action, URL Action, or Sheets Action.
-
action
InputComponent._FinalStage action(ActionComponent action)
-
saveState
InputComponent._FinalStage saveState(java.util.Optional<InputComponent.SaveState> saveState)
Styles the input. Default is
unsaved. Prevent action withsaved.
-
saveState
InputComponent._FinalStage saveState(InputComponent.SaveState saveState)
-
disabled
InputComponent._FinalStage disabled(java.util.Optional<java.lang.Boolean> disabled)
Styles the input and prevents the action. Default is false. Will be overridden if save_state is saved.
-
disabled
InputComponent._FinalStage disabled(java.lang.Boolean disabled)
-
-