public java.util.List<AddOnRequest> getAddOns() {
        return addOns;
    }
<p>
An array of objects representing the add-ons to enable for the new instance.
</p>

@return An array of objects representing the add-ons to enable for the new instance.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/CreateInstancesRequest.java