public AddonInfo withType(String type) {
        setType(type);
        return this;
    }
<p>
The type of the add-on.
</p>

@param type
       The type of the add-on.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-eks/src/main/java/com/amazonaws/services/eks/model/AddonInfo.java