public DomainStatus withOffPeakWindowOptions(OffPeakWindowOptions offPeakWindowOptions) {
        setOffPeakWindowOptions(offPeakWindowOptions);
        return this;
    }
<p>
Options that specify a custom 10-hour window during which OpenSearch Service can perform configuration changes on
the domain.
</p>

@param offPeakWindowOptions
       Options that specify a custom 10-hour window during which OpenSearch Service can perform configuration
       changes on the domain.
@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/DomainStatus.java