Class FieldInputConfig
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<FieldInputConfig.Builder,
FieldInputConfig>
Describes the configuration for the default input values to display for a field.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic FieldInputConfig.Builder
builder()
final Boolean
Specifies whether a field has a default value.final String
The default country code for a phone number.final String
The default value for the field.final String
The text to display to describe the field.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final FileUploaderFieldConfig
The configuration for the file uploader field.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final Boolean
isArray()
Specifies whether to render the field as an array.final Float
maxValue()
The maximum value to display for the field.final Float
minValue()
The minimum value to display for the field.final String
name()
The name of the field.final String
The text to display as a placeholder for the field.final Boolean
readOnly()
Specifies a read only field.final Boolean
required()
Specifies a field that requires input.static Class
<? extends FieldInputConfig.Builder> final Float
step()
The stepping increment for a numeric value in a field.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final String
type()
The input type for the field.final String
value()
The value for the field.final ValueMappings
The information to use to customize the input fields with data at runtime.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
type
-
required
Specifies a field that requires input.
- Returns:
- Specifies a field that requires input.
-
readOnly
-
placeholder
The text to display as a placeholder for the field.
- Returns:
- The text to display as a placeholder for the field.
-
defaultValue
The default value for the field.
- Returns:
- The default value for the field.
-
descriptiveText
The text to display to describe the field.
- Returns:
- The text to display to describe the field.
-
defaultChecked
Specifies whether a field has a default value.
- Returns:
- Specifies whether a field has a default value.
-
defaultCountryCode
The default country code for a phone number.
- Returns:
- The default country code for a phone number.
-
valueMappings
The information to use to customize the input fields with data at runtime.
- Returns:
- The information to use to customize the input fields with data at runtime.
-
name
-
minValue
The minimum value to display for the field.
- Returns:
- The minimum value to display for the field.
-
maxValue
The maximum value to display for the field.
- Returns:
- The maximum value to display for the field.
-
step
The stepping increment for a numeric value in a field.
- Returns:
- The stepping increment for a numeric value in a field.
-
value
-
isArray
Specifies whether to render the field as an array. This property is ignored if the
dataSourceType
for the form is a Data Store.- Returns:
- Specifies whether to render the field as an array. This property is ignored if the
dataSourceType
for the form is a Data Store.
-
fileUploaderConfig
The configuration for the file uploader field.
- Returns:
- The configuration for the file uploader field.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<FieldInputConfig.Builder,
FieldInputConfig> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-