Interface CfnForm.FieldInputConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnForm.FieldInputConfigProperty.Jsii$Proxy
- Enclosing class:
- CfnForm
@Stability(Stable)
public static interface CfnForm.FieldInputConfigProperty
extends software.amazon.jsii.JsiiSerializable
The
FieldInputConfig property specifies the configuration for the default input values to display for a field.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.amplifyuibuilder.*;
FieldInputConfigProperty fieldInputConfigProperty = FieldInputConfigProperty.builder()
.type("type")
// the properties below are optional
.defaultChecked(false)
.defaultCountryCode("defaultCountryCode")
.defaultValue("defaultValue")
.descriptiveText("descriptiveText")
.fileUploaderConfig(FileUploaderFieldConfigProperty.builder()
.acceptedFileTypes(List.of("acceptedFileTypes"))
.accessLevel("accessLevel")
// the properties below are optional
.isResumable(false)
.maxFileCount(123)
.maxSize(123)
.showThumbnails(false)
.build())
.isArray(false)
.maxValue(123)
.minValue(123)
.name("name")
.placeholder("placeholder")
.readOnly(false)
.required(false)
.step(123)
.value("value")
.valueMappings(ValueMappingsProperty.builder()
.values(List.of(ValueMappingProperty.builder()
.value(FormInputValuePropertyProperty.builder()
.value("value")
.build())
// the properties below are optional
.displayValue(FormInputValuePropertyProperty.builder()
.value("value")
.build())
.build()))
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnForm.FieldInputConfigPropertystatic final classAn implementation forCfnForm.FieldInputConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectSpecifies whether a field has a default value.default StringThe default country code for a phone number.default StringThe default value for the field.default StringThe text to display to describe the field.default ObjectCfnForm.FieldInputConfigProperty.FileUploaderConfig.default ObjectCfnForm.FieldInputConfigProperty.IsArray.default NumberThe maximum value to display for the field.default NumberThe minimum value to display for the field.default StringgetName()The name of the field.default StringThe text to display as a placeholder for the field.default ObjectSpecifies a read only field.default ObjectSpecifies a field that requires input.default NumbergetStep()The stepping increment for a numeric value in a field.getType()The input type for the field.default StringgetValue()The value for the field.default ObjectThe information to use to customize the input fields with data at runtime.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
The input type for the field. -
getDefaultChecked
Specifies whether a field has a default value. -
getDefaultCountryCode
The default country code for a phone number. -
getDefaultValue
The default value for the field. -
getDescriptiveText
The text to display to describe the field. -
getFileUploaderConfig
CfnForm.FieldInputConfigProperty.FileUploaderConfig. -
getIsArray
CfnForm.FieldInputConfigProperty.IsArray. -
getMaxValue
The maximum value to display for the field. -
getMinValue
The minimum value to display for the field. -
getName
The name of the field. -
getPlaceholder
The text to display as a placeholder for the field. -
getReadOnly
Specifies a read only field. -
getRequired
Specifies a field that requires input. -
getStep
The stepping increment for a numeric value in a field. -
getValue
The value for the field. -
getValueMappings
The information to use to customize the input fields with data at runtime. -
builder
-