Interface CfnForm.FieldValidationConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnForm.FieldValidationConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnForm
@Stability(Stable)
public static interface CfnForm.FieldValidationConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The
FieldValidationConfiguration property specifies the validation configuration 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.*;
FieldValidationConfigurationProperty fieldValidationConfigurationProperty = FieldValidationConfigurationProperty.builder()
.type("type")
// the properties below are optional
.numValues(List.of(123))
.strValues(List.of("strValues"))
.validationMessage("validationMessage")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnForm.FieldValidationConfigurationPropertystatic final classAn implementation forCfnForm.FieldValidationConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
The validation to perform on an object type.``
- See Also:
-
getNumValues
The validation to perform on a number value.Returns union: either Listinvalid input: '<'
Number> orIResolvable- See Also:
-
getStrValues
The validation to perform on a string value.- See Also:
-
getValidationMessage
The validation message to display.- See Also:
-
builder
-