public RestoreDBInstanceFromS3Request withPreferredMaintenanceWindow(String preferredMaintenanceWindow) {
        setPreferredMaintenanceWindow(preferredMaintenanceWindow);
        return this;
    }
<p>
The time range each week during which system maintenance can occur, in Universal Coordinated Time (UTC). For more
information, see <a href=
"https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance"
>Amazon RDS Maintenance Window</a> in the <i>Amazon RDS User Guide.</i>
</p>
<p>
Constraints:
</p>
<ul>
<li>
<p>
Must be in the format <code>ddd:hh24:mi-ddd:hh24:mi</code>.
</p>
</li>
<li>
<p>
Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
</p>
</li>
<li>
<p>
Must be in Universal Coordinated Time (UTC).
</p>
</li>
<li>
<p>
Must not conflict with the preferred backup window.
</p>
</li>
<li>
<p>
Must be at least 30 minutes.
</p>
</li>
</ul>

@param preferredMaintenanceWindow
       The time range each week during which system maintenance can occur, in Universal Coordinated Time (UTC).
       For more information, see <a href=
       "https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance"
       >Amazon RDS Maintenance Window</a> in the <i>Amazon RDS User Guide.</i> </p>
       <p>
       Constraints:
       </p>
       <ul>
       <li>
       <p>
       Must be in the format <code>ddd:hh24:mi-ddd:hh24:mi</code>.
       </p>
       </li>
       <li>
       <p>
       Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
       </p>
       </li>
       <li>
       <p>
       Must be in Universal Coordinated Time (UTC).
       </p>
       </li>
       <li>
       <p>
       Must not conflict with the preferred backup window.
       </p>
       </li>
       <li>
       <p>
       Must be at least 30 minutes.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/model/RestoreDBInstanceFromS3Request.java