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