public static interface FieldInputConfig.Builder extends SdkPojo, CopyableBuilder<FieldInputConfig.Builder,FieldInputConfig>
| Modifier and Type | Method and Description |
|---|---|
FieldInputConfig.Builder |
defaultChecked(Boolean defaultChecked)
Specifies whether a field has a default value.
|
FieldInputConfig.Builder |
defaultCountryCode(String defaultCountryCode)
The default country code for a phone number.
|
FieldInputConfig.Builder |
defaultValue(String defaultValue)
The default value for the field.
|
FieldInputConfig.Builder |
descriptiveText(String descriptiveText)
The text to display to describe the field.
|
default FieldInputConfig.Builder |
fileUploaderConfig(Consumer<FileUploaderFieldConfig.Builder> fileUploaderConfig)
The configuration for the file uploader field.
|
FieldInputConfig.Builder |
fileUploaderConfig(FileUploaderFieldConfig fileUploaderConfig)
The configuration for the file uploader field.
|
FieldInputConfig.Builder |
isArray(Boolean isArray)
Specifies whether to render the field as an array.
|
FieldInputConfig.Builder |
maxValue(Float maxValue)
The maximum value to display for the field.
|
FieldInputConfig.Builder |
minValue(Float minValue)
The minimum value to display for the field.
|
FieldInputConfig.Builder |
name(String name)
The name of the field.
|
FieldInputConfig.Builder |
placeholder(String placeholder)
The text to display as a placeholder for the field.
|
FieldInputConfig.Builder |
readOnly(Boolean readOnly)
Specifies a read only field.
|
FieldInputConfig.Builder |
required(Boolean required)
Specifies a field that requires input.
|
FieldInputConfig.Builder |
step(Float step)
The stepping increment for a numeric value in a field.
|
FieldInputConfig.Builder |
type(String type)
The input type for the field.
|
FieldInputConfig.Builder |
value(String value)
The value for the field.
|
default FieldInputConfig.Builder |
valueMappings(Consumer<ValueMappings.Builder> valueMappings)
The information to use to customize the input fields with data at runtime.
|
FieldInputConfig.Builder |
valueMappings(ValueMappings valueMappings)
The information to use to customize the input fields with data at runtime.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFieldInputConfig.Builder type(String type)
The input type for the field.
type - The input type for the field.FieldInputConfig.Builder required(Boolean required)
Specifies a field that requires input.
required - Specifies a field that requires input.FieldInputConfig.Builder readOnly(Boolean readOnly)
Specifies a read only field.
readOnly - Specifies a read only field.FieldInputConfig.Builder placeholder(String placeholder)
The text to display as a placeholder for the field.
placeholder - The text to display as a placeholder for the field.FieldInputConfig.Builder defaultValue(String defaultValue)
The default value for the field.
defaultValue - The default value for the field.FieldInputConfig.Builder descriptiveText(String descriptiveText)
The text to display to describe the field.
descriptiveText - The text to display to describe the field.FieldInputConfig.Builder defaultChecked(Boolean defaultChecked)
Specifies whether a field has a default value.
defaultChecked - Specifies whether a field has a default value.FieldInputConfig.Builder defaultCountryCode(String defaultCountryCode)
The default country code for a phone number.
defaultCountryCode - The default country code for a phone number.FieldInputConfig.Builder valueMappings(ValueMappings valueMappings)
The information to use to customize the input fields with data at runtime.
valueMappings - The information to use to customize the input fields with data at runtime.default FieldInputConfig.Builder valueMappings(Consumer<ValueMappings.Builder> valueMappings)
The information to use to customize the input fields with data at runtime.
This is a convenience method that creates an instance of theValueMappings.Builder avoiding the need
to create one manually via ValueMappings.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to valueMappings(ValueMappings).
valueMappings - a consumer that will call methods on ValueMappings.BuildervalueMappings(ValueMappings)FieldInputConfig.Builder name(String name)
The name of the field.
name - The name of the field.FieldInputConfig.Builder minValue(Float minValue)
The minimum value to display for the field.
minValue - The minimum value to display for the field.FieldInputConfig.Builder maxValue(Float maxValue)
The maximum value to display for the field.
maxValue - The maximum value to display for the field.FieldInputConfig.Builder step(Float step)
The stepping increment for a numeric value in a field.
step - The stepping increment for a numeric value in a field.FieldInputConfig.Builder value(String value)
The value for the field.
value - The value for the field.FieldInputConfig.Builder isArray(Boolean isArray)
Specifies whether to render the field as an array. This property is ignored if the
dataSourceType for the form is a Data Store.
isArray - Specifies whether to render the field as an array. This property is ignored if the
dataSourceType for the form is a Data Store.FieldInputConfig.Builder fileUploaderConfig(FileUploaderFieldConfig fileUploaderConfig)
The configuration for the file uploader field.
fileUploaderConfig - The configuration for the file uploader field.default FieldInputConfig.Builder fileUploaderConfig(Consumer<FileUploaderFieldConfig.Builder> fileUploaderConfig)
The configuration for the file uploader field.
This is a convenience method that creates an instance of theFileUploaderFieldConfig.Builder avoiding
the need to create one manually via FileUploaderFieldConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to fileUploaderConfig(FileUploaderFieldConfig).
fileUploaderConfig - a consumer that will call methods on FileUploaderFieldConfig.BuilderfileUploaderConfig(FileUploaderFieldConfig)Copyright © 2023. All rights reserved.