Interface CfnForm.FieldConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnForm.FieldConfigProperty.Jsii$Proxy
- Enclosing class:
CfnForm
@Stability(Stable)
public static interface CfnForm.FieldConfigProperty
extends software.amazon.jsii.JsiiSerializable
The
FieldConfig
property specifies the configuration information for a field in a table.
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_; FieldConfigProperty fieldConfigProperty = FieldConfigProperty.builder() .excluded(false) .inputType(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()) .label("label") .position(FieldPositionProperty.builder() .below("below") .fixed("fixed") .rightOf("rightOf") .build()) .validations(List.of(FieldValidationConfigurationProperty.builder() .type("type") // the properties below are optional .numValues(List.of(123)) .strValues(List.of("strValues")) .validationMessage("validationMessage") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnForm.FieldConfigProperty
static final class
An implementation forCfnForm.FieldConfigProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Specifies whether to hide a field.default Object
Describes the configuration for the default input value to display for a field.default String
getLabel()
The label for the field.default Object
Specifies the field position.default Object
The validations to perform on the value in the field.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExcluded
Specifies whether to hide a field.- See Also:
-
getInputType
Describes the configuration for the default input value to display for a field.- See Also:
-
getLabel
The label for the field.- See Also:
-
getPosition
Specifies the field position.- See Also:
-
getValidations
The validations to perform on the value in the field.- See Also:
-
builder
-