public void setWeekly(WeeklySchedule weekly) {
        this.weekly = weekly;
    }
<p>
The schedule's weekly.
</p>

@param weekly
       The schedule's weekly.
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/Schedule.java