public ScheduledAuditMetadata withDayOfMonth(String dayOfMonth) {
        setDayOfMonth(dayOfMonth);
        return this;
    }
<p>
The day of the month on which the scheduled audit is run (if the <code>frequency</code> is "MONTHLY"). If days
29-31 are specified, and the month does not have that many days, the audit takes place on the "LAST" day of the
month.
</p>

@param dayOfMonth
       The day of the month on which the scheduled audit is run (if the <code>frequency</code> is "MONTHLY"). If
       days 29-31 are specified, and the month does not have that many days, the audit takes place on the "LAST"
       day of the month.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/ScheduledAuditMetadata.java