public DescribeScheduledAuditResult withDayOfWeek(DayOfWeek dayOfWeek) {
        this.dayOfWeek = dayOfWeek.toString();
        return this;
    }
<p>
The day of the week on which the scheduled audit takes place, either one of <code>SUN</code>, <code>MON</code>,
<code>TUE</code>, <code>WED</code>, <code>THU</code>, <code>FRI</code>, or <code>SAT</code>.
</p>

@param dayOfWeek
       The day of the week on which the scheduled audit takes place, either one of <code>SUN</code>,
       <code>MON</code>, <code>TUE</code>, <code>WED</code>, <code>THU</code>, <code>FRI</code>, or
       <code>SAT</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see DayOfWeek
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/DescribeScheduledAuditResult.java