public FieldValidationMessage withType(String type) {
        setType(type);
        return this;
    }
<p>
The message type.
</p>

@param type
       The message type.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-frauddetector/src/main/java/com/amazonaws/services/frauddetector/model/FieldValidationMessage.java