Interface FieldInputConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FieldInputConfig.Builder,
,FieldInputConfig> SdkBuilder<FieldInputConfig.Builder,
,FieldInputConfig> SdkPojo
- Enclosing class:
FieldInputConfig
-
Method Summary
Modifier and TypeMethodDescriptiondefaultChecked
(Boolean defaultChecked) Specifies whether a field has a default value.defaultCountryCode
(String defaultCountryCode) The default country code for a phone number.defaultValue
(String defaultValue) The default value for the field.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.fileUploaderConfig
(FileUploaderFieldConfig fileUploaderConfig) The configuration for the file uploader field.Specifies whether to render the field as an array.The maximum value to display for the field.The minimum value to display for the field.The name of the field.placeholder
(String placeholder) The text to display as a placeholder for the field.Specifies a read only field.Specifies a field that requires input.The stepping increment for a numeric value in a field.The input type for the field.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.valueMappings
(ValueMappings valueMappings) The information to use to customize the input fields with data at runtime.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
type
The input type for the field.
- Parameters:
type
- The input type for the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
required
Specifies a field that requires input.
- Parameters:
required
- Specifies a field that requires input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readOnly
Specifies a read only field.
- Parameters:
readOnly
- Specifies a read only field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
placeholder
The text to display as a placeholder for the field.
- Parameters:
placeholder
- The text to display as a placeholder for the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultValue
The default value for the field.
- Parameters:
defaultValue
- The default value for the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
descriptiveText
The text to display to describe the field.
- Parameters:
descriptiveText
- The text to display to describe the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultChecked
Specifies whether a field has a default value.
- Parameters:
defaultChecked
- Specifies whether a field has a default value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultCountryCode
The default country code for a phone number.
- Parameters:
defaultCountryCode
- The default country code for a phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueMappings
The information to use to customize the input fields with data at runtime.
- Parameters:
valueMappings
- The information to use to customize the input fields with data at runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaValueMappings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalueMappings(ValueMappings)
.- Parameters:
valueMappings
- a consumer that will call methods onValueMappings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the field.
- Parameters:
name
- The name of the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minValue
The minimum value to display for the field.
- Parameters:
minValue
- The minimum value to display for the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxValue
The maximum value to display for the field.
- Parameters:
maxValue
- The maximum value to display for the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
step
The stepping increment for a numeric value in a field.
- Parameters:
step
- The stepping increment for a numeric value in a field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The value for the field.
- Parameters:
value
- The value for the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isArray
Specifies whether to render the field as an array. This property is ignored if the
dataSourceType
for the form is a Data Store.- Parameters:
isArray
- Specifies whether to render the field as an array. This property is ignored if thedataSourceType
for the form is a Data Store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileUploaderConfig
The configuration for the file uploader field.
- Parameters:
fileUploaderConfig
- The configuration for the file uploader field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileUploaderConfig
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 viaFileUploaderFieldConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofileUploaderConfig(FileUploaderFieldConfig)
.- Parameters:
fileUploaderConfig
- a consumer that will call methods onFileUploaderFieldConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-