Class MicrosoftGraphRecurrencePattern
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphRecurrencePattern
recurrencePattern.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphRecurrencePattern class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: recurrencePattern.Get the dayOfMonth property: The day of the month on which the event occurs.Get the daysOfWeek property: A collection of the days of the week on which the event occurs.Get the firstDayOfWeek property: dayOfWeek.index()Get the index property: weekIndex.interval()Get the interval property: The number of units between occurrences, where units can be in days, weeks, months, or years, depending on the type.month()Get the month property: The month in which the event occurs.type()Get the type property: recurrencePatternType.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: recurrencePattern.withDayOfMonth(Integer dayOfMonth) Set the dayOfMonth property: The day of the month on which the event occurs.withDaysOfWeek(List<MicrosoftGraphDayOfWeek> daysOfWeek) Set the daysOfWeek property: A collection of the days of the week on which the event occurs.withFirstDayOfWeek(MicrosoftGraphDayOfWeek firstDayOfWeek) Set the firstDayOfWeek property: dayOfWeek.withIndex(MicrosoftGraphWeekIndex index) Set the index property: weekIndex.withInterval(Integer interval) Set the interval property: The number of units between occurrences, where units can be in days, weeks, months, or years, depending on the type.Set the month property: The month in which the event occurs.Set the type property: recurrencePatternType.
-
Constructor Details
-
MicrosoftGraphRecurrencePattern
public MicrosoftGraphRecurrencePattern()Creates an instance of MicrosoftGraphRecurrencePattern class.
-
-
Method Details
-
dayOfMonth
Get the dayOfMonth property: The day of the month on which the event occurs. Required if type is absoluteMonthly or absoluteYearly.- Returns:
- the dayOfMonth value.
-
withDayOfMonth
Set the dayOfMonth property: The day of the month on which the event occurs. Required if type is absoluteMonthly or absoluteYearly.- Parameters:
dayOfMonth- the dayOfMonth value to set.- Returns:
- the MicrosoftGraphRecurrencePattern object itself.
-
daysOfWeek
Get the daysOfWeek property: A collection of the days of the week on which the event occurs. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. If type is relativeMonthly or relativeYearly, and daysOfWeek specifies more than one day, the event falls on the first day that satisfies the pattern. Required if type is weekly, relativeMonthly, or relativeYearly.- Returns:
- the daysOfWeek value.
-
withDaysOfWeek
Set the daysOfWeek property: A collection of the days of the week on which the event occurs. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. If type is relativeMonthly or relativeYearly, and daysOfWeek specifies more than one day, the event falls on the first day that satisfies the pattern. Required if type is weekly, relativeMonthly, or relativeYearly.- Parameters:
daysOfWeek- the daysOfWeek value to set.- Returns:
- the MicrosoftGraphRecurrencePattern object itself.
-
firstDayOfWeek
Get the firstDayOfWeek property: dayOfWeek.- Returns:
- the firstDayOfWeek value.
-
withFirstDayOfWeek
Set the firstDayOfWeek property: dayOfWeek.- Parameters:
firstDayOfWeek- the firstDayOfWeek value to set.- Returns:
- the MicrosoftGraphRecurrencePattern object itself.
-
index
Get the index property: weekIndex.- Returns:
- the index value.
-
withIndex
Set the index property: weekIndex.- Parameters:
index- the index value to set.- Returns:
- the MicrosoftGraphRecurrencePattern object itself.
-
interval
Get the interval property: The number of units between occurrences, where units can be in days, weeks, months, or years, depending on the type. Required.- Returns:
- the interval value.
-
withInterval
Set the interval property: The number of units between occurrences, where units can be in days, weeks, months, or years, depending on the type. Required.- Parameters:
interval- the interval value to set.- Returns:
- the MicrosoftGraphRecurrencePattern object itself.
-
month
Get the month property: The month in which the event occurs. This is a number from 1 to 12.- Returns:
- the month value.
-
withMonth
Set the month property: The month in which the event occurs. This is a number from 1 to 12.- Parameters:
month- the month value to set.- Returns:
- the MicrosoftGraphRecurrencePattern object itself.
-
type
Get the type property: recurrencePatternType.- Returns:
- the type value.
-
withType
Set the type property: recurrencePatternType.- Parameters:
type- the type value to set.- Returns:
- the MicrosoftGraphRecurrencePattern object itself.
-
additionalProperties
Get the additionalProperties property: recurrencePattern.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphRecurrencePattern withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: recurrencePattern.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphRecurrencePattern object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-