public Server withServerType(ServerType serverType) {
        this.serverType = serverType.toString();
        return this;
    }
<p>
The type of server.
</p>

@param serverType
       The type of server.
@return Returns a reference to this object so that method calls can be chained together.
@see ServerType
aws-java-sdk-servermigration/src/main/java/com/amazonaws/services/servermigration/model/Server.java