DailySchedule Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. DailySchedule
- com.
Implements
public final class DailySchedule
implements JsonSerializable<DailySchedule>
For schedules like: 'recur every day' or 'recur every 3 days'.
Constructor Summary
Constructor | Description |
---|---|
DailySchedule() |
Creates an instance of Daily |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Daily |
fromJson(JsonReader jsonReader)
Reads an instance of Daily |
int |
intervalDays()
Get the interval |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Daily |
withIntervalDays(int intervalDays)
Set the interval |
Methods inherited from java.lang.Object
Constructor Details
DailySchedule
public DailySchedule()
Creates an instance of DailySchedule class.
Method Details
fromJson
public static DailySchedule fromJson(JsonReader jsonReader)
Reads an instance of DailySchedule from the JsonReader.
Parameters:
Returns:
Throws:
intervalDays
public int intervalDays()
Get the intervalDays property: Specifies the number of days between each set of occurrences.
Returns:
toJson
validate
public void validate()
Validates the instance.
withIntervalDays
public DailySchedule withIntervalDays(int intervalDays)
Set the intervalDays property: Specifies the number of days between each set of occurrences.
Parameters:
Returns:
Applies to
Azure SDK for Java