public ScheduledAuditMetadata withFrequency(String frequency) {
        setFrequency(frequency);
        return this;
    }
<p>
How often the scheduled audit occurs.
</p>

@param frequency
       How often the scheduled audit occurs.
@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/ScheduledAuditMetadata.java