public DescribeScheduledAuditResult withFrequency(AuditFrequency frequency) {
        this.frequency = frequency.toString();
        return this;
    }
<p>
How often the scheduled audit takes place, either one of <code>DAILY</code>, <code>WEEKLY</code>,
<code>BIWEEKLY</code>, or <code>MONTHLY</code>. The start time of each audit is determined by the system.
</p>

@param frequency
       How often the scheduled audit takes place, either one of <code>DAILY</code>, <code>WEEKLY</code>,
       <code>BIWEEKLY</code>, or <code>MONTHLY</code>. The start time of each audit is determined by the system.
@return Returns a reference to this object so that method calls can be chained together.
@see AuditFrequency
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/DescribeScheduledAuditResult.java