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.*; FormInputValuePropertyProperty formInputValuePropertyProperty_; 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() .bindingProperties(FormInputValuePropertyBindingPropertiesProperty.builder() .property("property") // the properties below are optional .field("field") .build()) .concat(List.of(formInputValuePropertyProperty_)) .value("value") .build()) // the properties below are optional .displayValue(FormInputValuePropertyProperty.builder() .bindingProperties(FormInputValuePropertyBindingPropertiesProperty.builder() .property("property") // the properties below are optional .field("field") .build()) .concat(List.of(formInputValuePropertyProperty_)) .value("value") .build()) .build())) // the properties below are optional .bindingProperties(Map.of( "bindingPropertiesKey", FormInputBindingPropertiesValueProperty.builder() .bindingProperties(FormInputBindingPropertiesValuePropertiesProperty.builder() .model("model") .build()) .type("type") .build())) .build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnForm.FieldInputConfigProperty
static final class
An implementation forCfnForm.FieldInputConfigProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Specifies whether a field has a default value.default String
The default country code for a phone number.default String
The default value for the field.default String
The text to display to describe the field.default Object
The configuration for the file uploader field.default Object
Specifies whether to render the field as an array.default Number
The maximum value to display for the field.default Number
The minimum value to display for the field.default String
getName()
The name of the field.default String
The text to display as a placeholder for the field.default Object
Specifies a read only field.default Object
Specifies a field that requires input.default Number
getStep()
The stepping increment for a numeric value in a field.getType()
The input type for the field.default String
getValue()
The value for the field.default Object
The 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.- See Also:
-
getDefaultChecked
Specifies whether a field has a default value.- See Also:
-
getDefaultCountryCode
The default country code for a phone number.- See Also:
-
getDefaultValue
The default value for the field.- See Also:
-
getDescriptiveText
The text to display to describe the field.- See Also:
-
getFileUploaderConfig
The configuration for the file uploader field.- See Also:
-
getIsArray
Specifies whether to render the field as an array.This property is ignored if the
dataSourceType
for the form is a Data Store.- See Also:
-
getMaxValue
The maximum value to display for the field.- See Also:
-
getMinValue
The minimum value to display for the field.- See Also:
-
getName
The name of the field.- See Also:
-
getPlaceholder
The text to display as a placeholder for the field.- See Also:
-
getReadOnly
Specifies a read only field.- See Also:
-
getRequired
Specifies a field that requires input.- See Also:
-
getStep
The stepping increment for a numeric value in a field.- See Also:
-
getValue
The value for the field.- See Also:
-
getValueMappings
The information to use to customize the input fields with data at runtime.- See Also:
-
builder
-