public FieldConfig withValidations(java.util.Collection<FieldValidationConfiguration> validations) {
        setValidations(validations);
        return this;
    }
<p>
The validations to perform on the value in the field.
</p>

@param validations
       The validations to perform on the value in the field.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-amplifyuibuilder/src/main/java/com/amazonaws/services/amplifyuibuilder/model/FieldConfig.java