public void setWeeklySchedule(WeeklySchedule weeklySchedule) {
        this.weeklySchedule = weeklySchedule;
    }
<p>
Specifies a weekly recurrence pattern for running the job.
</p>

@param weeklySchedule
       Specifies a weekly recurrence pattern for running the job.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/JobScheduleFrequency.java