public AddOnRequest withAutoSnapshotAddOnRequest(AutoSnapshotAddOnRequest autoSnapshotAddOnRequest) {
        setAutoSnapshotAddOnRequest(autoSnapshotAddOnRequest);
        return this;
    }
<p>
An object that represents additional parameters when enabling or modifying the automatic snapshot add-on.
</p>

@param autoSnapshotAddOnRequest
       An object that represents additional parameters when enabling or modifying the automatic snapshot add-on.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/AddOnRequest.java