com.azure.resourcemanager.recoveryservicesbackup.models.WeeklySchedule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-recoveryservicesbackup Show documentation
Show all versions of azure-resourcemanager-recoveryservicesbackup Show documentation
This package contains Microsoft Azure SDK for RecoveryServicesBackup Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Open API 2.0 Specs for Azure RecoveryServices Backup service. Package tag package-2024-04.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.OffsetDateTime;
import java.util.List;
/**
* The WeeklySchedule model.
*/
@Fluent
public final class WeeklySchedule {
/*
* The scheduleRunDays property.
*/
@JsonProperty(value = "scheduleRunDays")
private List scheduleRunDays;
/*
* List of times of day this schedule has to be run.
*/
@JsonProperty(value = "scheduleRunTimes")
private List scheduleRunTimes;
/**
* Creates an instance of WeeklySchedule class.
*/
public WeeklySchedule() {
}
/**
* Get the scheduleRunDays property: The scheduleRunDays property.
*
* @return the scheduleRunDays value.
*/
public List scheduleRunDays() {
return this.scheduleRunDays;
}
/**
* Set the scheduleRunDays property: The scheduleRunDays property.
*
* @param scheduleRunDays the scheduleRunDays value to set.
* @return the WeeklySchedule object itself.
*/
public WeeklySchedule withScheduleRunDays(List scheduleRunDays) {
this.scheduleRunDays = scheduleRunDays;
return this;
}
/**
* Get the scheduleRunTimes property: List of times of day this schedule has to be run.
*
* @return the scheduleRunTimes value.
*/
public List scheduleRunTimes() {
return this.scheduleRunTimes;
}
/**
* Set the scheduleRunTimes property: List of times of day this schedule has to be run.
*
* @param scheduleRunTimes the scheduleRunTimes value to set.
* @return the WeeklySchedule object itself.
*/
public WeeklySchedule withScheduleRunTimes(List scheduleRunTimes) {
this.scheduleRunTimes = scheduleRunTimes;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy