public FieldValidationConfiguration withType(String type) {
        setType(type);
        return this;
    }
<p>
The validation to perform on an object type.<code/>
</p>

@param type
       The validation to perform on an object type.<code/>
@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/FieldValidationConfiguration.java