public void setValidations(java.util.Collection<FieldValidationConfiguration> validations) {
        if (validations == null) {
            this.validations = null;
            return;
        }

        this.validations = new java.util.ArrayList<FieldValidationConfiguration>(validations);
    }
<p>
The validations to perform on the value in the field.
</p>

@param validations
       The validations to perform on the value in the field.
aws-java-sdk-amplifyuibuilder/src/main/java/com/amazonaws/services/amplifyuibuilder/model/FieldConfig.java