public CreateEnvironmentRequest withMaintenanceWindow(MaintenanceWindow maintenanceWindow) {
        setMaintenanceWindow(maintenanceWindow);
        return this;
    }
<p>
A specification for a time window to apply software updates.
</p>

@param maintenanceWindow
       A specification for a time window to apply software updates.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workspacesthinclient/src/main/java/com/amazonaws/services/workspacesthinclient/model/CreateEnvironmentRequest.java