Class Recurrence
- java.lang.Object
-
- software.amazon.spapi.models.services.v1.Recurrence
-
public class Recurrence extends java.lang.Object
Repeated occurrence of an event in a time range.
-
-
Constructor Summary
Constructors Constructor Description Recurrence()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Recurrence
addDaysOfMonthItem(java.lang.Integer daysOfMonthItem)
Recurrence
addDaysOfWeekItem(DayOfWeek daysOfWeekItem)
Recurrence
daysOfMonth(java.util.List<java.lang.Integer> daysOfMonth)
Recurrence
daysOfWeek(java.util.List<DayOfWeek> daysOfWeek)
Recurrence
endTime(org.threeten.bp.OffsetDateTime endTime)
boolean
equals(java.lang.Object o)
java.util.List<java.lang.Integer>
getDaysOfMonth()
Days of the month when recurrence is valid.java.util.List<DayOfWeek>
getDaysOfWeek()
Days of the week when recurrence is valid.org.threeten.bp.OffsetDateTime
getEndTime()
End time of the recurrence.int
hashCode()
void
setDaysOfMonth(java.util.List<java.lang.Integer> daysOfMonth)
void
setDaysOfWeek(java.util.List<DayOfWeek> daysOfWeek)
void
setEndTime(org.threeten.bp.OffsetDateTime endTime)
java.lang.String
toString()
-
-
-
Method Detail
-
endTime
public Recurrence endTime(org.threeten.bp.OffsetDateTime endTime)
-
getEndTime
public org.threeten.bp.OffsetDateTime getEndTime()
End time of the recurrence.- Returns:
- endTime
-
setEndTime
public void setEndTime(org.threeten.bp.OffsetDateTime endTime)
-
daysOfWeek
public Recurrence daysOfWeek(java.util.List<DayOfWeek> daysOfWeek)
-
addDaysOfWeekItem
public Recurrence addDaysOfWeekItem(DayOfWeek daysOfWeekItem)
-
getDaysOfWeek
public java.util.List<DayOfWeek> getDaysOfWeek()
Days of the week when recurrence is valid. If the schedule is valid every Monday, input will only contain `MONDAY` in the list.- Returns:
- daysOfWeek
-
setDaysOfWeek
public void setDaysOfWeek(java.util.List<DayOfWeek> daysOfWeek)
-
daysOfMonth
public Recurrence daysOfMonth(java.util.List<java.lang.Integer> daysOfMonth)
-
addDaysOfMonthItem
public Recurrence addDaysOfMonthItem(java.lang.Integer daysOfMonthItem)
-
getDaysOfMonth
public java.util.List<java.lang.Integer> getDaysOfMonth()
Days of the month when recurrence is valid.- Returns:
- daysOfMonth
-
setDaysOfMonth
public void setDaysOfMonth(java.util.List<java.lang.Integer> daysOfMonth)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-