public AddOnRequest withAddOnType(String addOnType) {
        setAddOnType(addOnType);
        return this;
    }
<p>
The add-on type.
</p>

@param addOnType
       The add-on type.
@return Returns a reference to this object so that method calls can be chained together.
@see AddOnType
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/AddOnRequest.java