@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecurrenceSettings extends Object implements Serializable, Cloneable, StructuredPojo
Information about when an on-call rotation is in effect and how long the rotation period lasts.
Constructor and Description |
---|
RecurrenceSettings() |
Modifier and Type | Method and Description |
---|---|
RecurrenceSettings |
addShiftCoveragesEntry(String key,
List<CoverageTime> value)
Add a single ShiftCoverages entry
|
RecurrenceSettings |
clearShiftCoveragesEntries()
Removes all the entries added into ShiftCoverages.
|
RecurrenceSettings |
clone() |
boolean |
equals(Object obj) |
List<HandOffTime> |
getDailySettings()
Information about on-call rotations that recur daily.
|
List<MonthlySetting> |
getMonthlySettings()
Information about on-call rotations that recur monthly.
|
Integer |
getNumberOfOnCalls()
The number of contacts, or shift team members designated to be on call concurrently during a shift.
|
Integer |
getRecurrenceMultiplier()
The number of days, weeks, or months a single rotation lasts.
|
Map<String,List<CoverageTime>> |
getShiftCoverages()
Information about the days of the week included in on-call rotation coverage.
|
List<WeeklySetting> |
getWeeklySettings()
Information about on-call rotations that recur weekly.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDailySettings(Collection<HandOffTime> dailySettings)
Information about on-call rotations that recur daily.
|
void |
setMonthlySettings(Collection<MonthlySetting> monthlySettings)
Information about on-call rotations that recur monthly.
|
void |
setNumberOfOnCalls(Integer numberOfOnCalls)
The number of contacts, or shift team members designated to be on call concurrently during a shift.
|
void |
setRecurrenceMultiplier(Integer recurrenceMultiplier)
The number of days, weeks, or months a single rotation lasts.
|
void |
setShiftCoverages(Map<String,List<CoverageTime>> shiftCoverages)
Information about the days of the week included in on-call rotation coverage.
|
void |
setWeeklySettings(Collection<WeeklySetting> weeklySettings)
Information about on-call rotations that recur weekly.
|
String |
toString()
Returns a string representation of this object.
|
RecurrenceSettings |
withDailySettings(Collection<HandOffTime> dailySettings)
Information about on-call rotations that recur daily.
|
RecurrenceSettings |
withDailySettings(HandOffTime... dailySettings)
Information about on-call rotations that recur daily.
|
RecurrenceSettings |
withMonthlySettings(Collection<MonthlySetting> monthlySettings)
Information about on-call rotations that recur monthly.
|
RecurrenceSettings |
withMonthlySettings(MonthlySetting... monthlySettings)
Information about on-call rotations that recur monthly.
|
RecurrenceSettings |
withNumberOfOnCalls(Integer numberOfOnCalls)
The number of contacts, or shift team members designated to be on call concurrently during a shift.
|
RecurrenceSettings |
withRecurrenceMultiplier(Integer recurrenceMultiplier)
The number of days, weeks, or months a single rotation lasts.
|
RecurrenceSettings |
withShiftCoverages(Map<String,List<CoverageTime>> shiftCoverages)
Information about the days of the week included in on-call rotation coverage.
|
RecurrenceSettings |
withWeeklySettings(Collection<WeeklySetting> weeklySettings)
Information about on-call rotations that recur weekly.
|
RecurrenceSettings |
withWeeklySettings(WeeklySetting... weeklySettings)
Information about on-call rotations that recur weekly.
|
public List<MonthlySetting> getMonthlySettings()
Information about on-call rotations that recur monthly.
public void setMonthlySettings(Collection<MonthlySetting> monthlySettings)
Information about on-call rotations that recur monthly.
monthlySettings
- Information about on-call rotations that recur monthly.public RecurrenceSettings withMonthlySettings(MonthlySetting... monthlySettings)
Information about on-call rotations that recur monthly.
NOTE: This method appends the values to the existing list (if any). Use
setMonthlySettings(java.util.Collection)
or withMonthlySettings(java.util.Collection)
if you
want to override the existing values.
monthlySettings
- Information about on-call rotations that recur monthly.public RecurrenceSettings withMonthlySettings(Collection<MonthlySetting> monthlySettings)
Information about on-call rotations that recur monthly.
monthlySettings
- Information about on-call rotations that recur monthly.public List<WeeklySetting> getWeeklySettings()
Information about on-call rotations that recur weekly.
public void setWeeklySettings(Collection<WeeklySetting> weeklySettings)
Information about on-call rotations that recur weekly.
weeklySettings
- Information about on-call rotations that recur weekly.public RecurrenceSettings withWeeklySettings(WeeklySetting... weeklySettings)
Information about on-call rotations that recur weekly.
NOTE: This method appends the values to the existing list (if any). Use
setWeeklySettings(java.util.Collection)
or withWeeklySettings(java.util.Collection)
if you want
to override the existing values.
weeklySettings
- Information about on-call rotations that recur weekly.public RecurrenceSettings withWeeklySettings(Collection<WeeklySetting> weeklySettings)
Information about on-call rotations that recur weekly.
weeklySettings
- Information about on-call rotations that recur weekly.public List<HandOffTime> getDailySettings()
Information about on-call rotations that recur daily.
public void setDailySettings(Collection<HandOffTime> dailySettings)
Information about on-call rotations that recur daily.
dailySettings
- Information about on-call rotations that recur daily.public RecurrenceSettings withDailySettings(HandOffTime... dailySettings)
Information about on-call rotations that recur daily.
NOTE: This method appends the values to the existing list (if any). Use
setDailySettings(java.util.Collection)
or withDailySettings(java.util.Collection)
if you want
to override the existing values.
dailySettings
- Information about on-call rotations that recur daily.public RecurrenceSettings withDailySettings(Collection<HandOffTime> dailySettings)
Information about on-call rotations that recur daily.
dailySettings
- Information about on-call rotations that recur daily.public void setNumberOfOnCalls(Integer numberOfOnCalls)
The number of contacts, or shift team members designated to be on call concurrently during a shift. For example,
in an on-call schedule containing ten contacts, a value of 2
designates that two of them are on call
at any given time.
numberOfOnCalls
- The number of contacts, or shift team members designated to be on call concurrently during a shift. For
example, in an on-call schedule containing ten contacts, a value of 2
designates that two of
them are on call at any given time.public Integer getNumberOfOnCalls()
The number of contacts, or shift team members designated to be on call concurrently during a shift. For example,
in an on-call schedule containing ten contacts, a value of 2
designates that two of them are on call
at any given time.
2
designates that two of
them are on call at any given time.public RecurrenceSettings withNumberOfOnCalls(Integer numberOfOnCalls)
The number of contacts, or shift team members designated to be on call concurrently during a shift. For example,
in an on-call schedule containing ten contacts, a value of 2
designates that two of them are on call
at any given time.
numberOfOnCalls
- The number of contacts, or shift team members designated to be on call concurrently during a shift. For
example, in an on-call schedule containing ten contacts, a value of 2
designates that two of
them are on call at any given time.public Map<String,List<CoverageTime>> getShiftCoverages()
Information about the days of the week included in on-call rotation coverage.
public void setShiftCoverages(Map<String,List<CoverageTime>> shiftCoverages)
Information about the days of the week included in on-call rotation coverage.
shiftCoverages
- Information about the days of the week included in on-call rotation coverage.public RecurrenceSettings withShiftCoverages(Map<String,List<CoverageTime>> shiftCoverages)
Information about the days of the week included in on-call rotation coverage.
shiftCoverages
- Information about the days of the week included in on-call rotation coverage.public RecurrenceSettings addShiftCoveragesEntry(String key, List<CoverageTime> value)
public RecurrenceSettings clearShiftCoveragesEntries()
public void setRecurrenceMultiplier(Integer recurrenceMultiplier)
The number of days, weeks, or months a single rotation lasts.
recurrenceMultiplier
- The number of days, weeks, or months a single rotation lasts.public Integer getRecurrenceMultiplier()
The number of days, weeks, or months a single rotation lasts.
public RecurrenceSettings withRecurrenceMultiplier(Integer recurrenceMultiplier)
The number of days, weeks, or months a single rotation lasts.
recurrenceMultiplier
- The number of days, weeks, or months a single rotation lasts.public String toString()
toString
in class Object
Object.toString()
public RecurrenceSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.