Class URLTextInputElement.URLTextInputElementBuilder
- java.lang.Object
-
- com.slack.api.model.block.element.URLTextInputElement.URLTextInputElementBuilder
-
- Enclosing class:
- URLTextInputElement
public static class URLTextInputElement.URLTextInputElementBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URLTextInputElement.URLTextInputElementBuilderactionId(String actionId)An identifier for the input value when the parent modal is submitted.URLTextInputElementbuild()URLTextInputElement.URLTextInputElementBuilderdispatchActionConfig(DispatchActionConfig dispatchActionConfig)A dispatch configuration object that determines when during text input the element returns a block_actions payload.URLTextInputElement.URLTextInputElementBuilderfocusOnLoad(Boolean focusOnLoad)Indicates whether the element will be set to autofocus within the view object.URLTextInputElement.URLTextInputElementBuilderinitialValue(String initialValue)The initial value in the URL input when it is loaded.URLTextInputElement.URLTextInputElementBuilderplaceholder(PlainTextObject placeholder)A plain_text only text object that defines the placeholder text shown in the plain-text input.StringtoString()
-
-
-
Method Detail
-
actionId
public URLTextInputElement.URLTextInputElementBuilder actionId(String actionId)
An identifier for the input value when the parent modal is submitted. You can use this when you receive a view_submission payload to identify the value of the input element. Should be unique among all other action_ids used elsewhere by your app. Maximum length for this field is 255 characters.- Returns:
this.
-
placeholder
public URLTextInputElement.URLTextInputElementBuilder placeholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown in the plain-text input. Maximum length for the text in this field is 150 characters.- Returns:
this.
-
initialValue
public URLTextInputElement.URLTextInputElementBuilder initialValue(String initialValue)
The initial value in the URL input when it is loaded.- Returns:
this.
-
dispatchActionConfig
public URLTextInputElement.URLTextInputElementBuilder dispatchActionConfig(DispatchActionConfig dispatchActionConfig)
A dispatch configuration object that determines when during text input the element returns a block_actions payload.- Returns:
this.
-
focusOnLoad
public URLTextInputElement.URLTextInputElementBuilder focusOnLoad(Boolean focusOnLoad)
Indicates whether the element will be set to autofocus within the view object. Only one element can be set to true. Defaults to false.- Returns:
this.
-
build
public URLTextInputElement build()
-
-