public AutoTuneOptionsOutput withUseOffPeakWindow(Boolean useOffPeakWindow) {
        setUseOffPeakWindow(useOffPeakWindow);
        return this;
    }
<p>
Whether the domain's off-peak window will be used to deploy Auto-Tune changes rather than a maintenance schedule.
</p>

@param useOffPeakWindow
       Whether the domain's off-peak window will be used to deploy Auto-Tune changes rather than a maintenance
       schedule.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opensearch/src/main/java/com/amazonaws/services/opensearch/model/AutoTuneOptionsOutput.java