MicrosoftGraphRecurrencePattern Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphRecurrencePattern

public final class MicrosoftGraphRecurrencePattern

recurrencePattern.

Constructor Summary

Constructor Description
MicrosoftGraphRecurrencePattern()

Creates an instance of MicrosoftGraphRecurrencePattern class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: recurrencePattern.

Integer dayOfMonth()

Get the dayOfMonth property: The day of the month on which the event occurs.

List<MicrosoftGraphDayOfWeek> daysOfWeek()

Get the daysOfWeek property: A collection of the days of the week on which the event occurs.

MicrosoftGraphDayOfWeek firstDayOfWeek()

Get the firstDayOfWeek property: dayOfWeek.

MicrosoftGraphWeekIndex index()

Get the index property: weekIndex.

Integer 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.

Integer month()

Get the month property: The month in which the event occurs.

MicrosoftGraphRecurrencePatternType type()

Get the type property: recurrencePatternType.

void validate()

Validates the instance.

MicrosoftGraphRecurrencePattern withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: recurrencePattern.

MicrosoftGraphRecurrencePattern withDayOfMonth(Integer dayOfMonth)

Set the dayOfMonth property: The day of the month on which the event occurs.

MicrosoftGraphRecurrencePattern withDaysOfWeek(List<MicrosoftGraphDayOfWeek> daysOfWeek)

Set the daysOfWeek property: A collection of the days of the week on which the event occurs.

MicrosoftGraphRecurrencePattern withFirstDayOfWeek(MicrosoftGraphDayOfWeek firstDayOfWeek)

Set the firstDayOfWeek property: dayOfWeek.

MicrosoftGraphRecurrencePattern withIndex(MicrosoftGraphWeekIndex index)

Set the index property: weekIndex.

MicrosoftGraphRecurrencePattern 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.

MicrosoftGraphRecurrencePattern withMonth(Integer month)

Set the month property: The month in which the event occurs.

MicrosoftGraphRecurrencePattern withType(MicrosoftGraphRecurrencePatternType type)

Set the type property: recurrencePatternType.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphRecurrencePattern

public MicrosoftGraphRecurrencePattern()

Creates an instance of MicrosoftGraphRecurrencePattern class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: recurrencePattern.

Returns:

the additionalProperties value.

dayOfMonth

public Integer 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.

daysOfWeek

public List 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.

firstDayOfWeek

public MicrosoftGraphDayOfWeek firstDayOfWeek()

Get the firstDayOfWeek property: dayOfWeek.

Returns:

the firstDayOfWeek value.

index

public MicrosoftGraphWeekIndex index()

Get the index property: weekIndex.

Returns:

the index value.

interval

public Integer 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.

month

public Integer month()

Get the month property: The month in which the event occurs. This is a number from 1 to 12.

Returns:

the month value.

type

public MicrosoftGraphRecurrencePatternType type()

Get the type property: recurrencePatternType.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphRecurrencePattern withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: recurrencePattern.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphRecurrencePattern object itself.

withDayOfMonth

public MicrosoftGraphRecurrencePattern withDayOfMonth(Integer dayOfMonth)

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.

withDaysOfWeek

public MicrosoftGraphRecurrencePattern withDaysOfWeek(List daysOfWeek)

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.

withFirstDayOfWeek

public MicrosoftGraphRecurrencePattern withFirstDayOfWeek(MicrosoftGraphDayOfWeek firstDayOfWeek)

Set the firstDayOfWeek property: dayOfWeek.

Parameters:

firstDayOfWeek - the firstDayOfWeek value to set.

Returns:

the MicrosoftGraphRecurrencePattern object itself.

withIndex

public MicrosoftGraphRecurrencePattern withIndex(MicrosoftGraphWeekIndex index)

Set the index property: weekIndex.

Parameters:

index - the index value to set.

Returns:

the MicrosoftGraphRecurrencePattern object itself.

withInterval

public MicrosoftGraphRecurrencePattern 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. Required.

Parameters:

interval - the interval value to set.

Returns:

the MicrosoftGraphRecurrencePattern object itself.

withMonth

public MicrosoftGraphRecurrencePattern withMonth(Integer month)

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.

withType

public MicrosoftGraphRecurrencePattern withType(MicrosoftGraphRecurrencePatternType type)

Set the type property: recurrencePatternType.

Parameters:

type - the type value to set.

Returns:

the MicrosoftGraphRecurrencePattern object itself.

Applies to