public CreateEntityRecognizerRequest withVersionName(String versionName) {
        setVersionName(versionName);
        return this;
    }
<p>
The version name given to the newly created recognizer. Version names can be a maximum of 256 characters.
Alphanumeric characters, hyphens (-) and underscores (_) are allowed. The version name must be unique among all
models with the same recognizer name in the account/Region.
</p>

@param versionName
       The version name given to the newly created recognizer. Version names can be a maximum of 256 characters.
       Alphanumeric characters, hyphens (-) and underscores (_) are allowed. The version name must be unique
       among all models with the same recognizer name in the account/Region.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/CreateEntityRecognizerRequest.java