public void setStopInstanceOnIdleRequest(StopInstanceOnIdleRequest stopInstanceOnIdleRequest) {
        this.stopInstanceOnIdleRequest = stopInstanceOnIdleRequest;
    }
<p>
An object that represents additional parameters when enabling or modifying the <code>StopInstanceOnIdle</code>
add-on.
</p>
<important>
<p>
This object only applies to Lightsail for Research resources.
</p>
</important>

@param stopInstanceOnIdleRequest
       An object that represents additional parameters when enabling or modifying the
       <code>StopInstanceOnIdle</code> add-on.</p> <important>
       <p>
       This object only applies to Lightsail for Research resources.
       </p>
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/AddOnRequest.java