public JobScheduleFrequency withDailySchedule(DailySchedule dailySchedule) {
        setDailySchedule(dailySchedule);
        return this;
    }
<p>
Specifies a daily recurrence pattern for running the job.
</p>

@param dailySchedule
       Specifies a daily recurrence pattern for running the job.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/JobScheduleFrequency.java