Interface CfnFormPropsMixin.FieldValidationConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFormPropsMixin.FieldValidationConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnFormPropsMixin
@Stability(Stable)
public static interface CfnFormPropsMixin.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.cfnpropertymixins.services.amplifyuibuilder.*;
FieldValidationConfigurationProperty fieldValidationConfigurationProperty = FieldValidationConfigurationProperty.builder()
.numValues(List.of(123))
.strValues(List.of("strValues"))
.type("type")
.validationMessage("validationMessage")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFormPropsMixin.FieldValidationConfigurationPropertystatic final classAn implementation forCfnFormPropsMixin.FieldValidationConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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:
-
getType
The validation to perform on an object type.``
- See Also:
-
getValidationMessage
The validation message to display.- See Also:
-
builder
-