Package com.datadog.api.client.v2.model
Class SyntheticsDowntimeTimeSlotRecurrenceResponse
java.lang.Object
com.datadog.api.client.v2.model.SyntheticsDowntimeTimeSlotRecurrenceResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsDowntimeTimeSlotRecurrenceResponse
extends Object
Recurrence settings returned in a Synthetics downtime time slot response.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSyntheticsDowntimeTimeSlotRecurrenceResponse(SyntheticsDowntimeFrequency frequency, Long interval, List<SyntheticsDowntimeWeekday> weekdays) -
Method Summary
Modifier and TypeMethodDescriptionaddWeekdayPositionsItem(SyntheticsDowntimeWeekdayPosition weekdayPositionsItem) addWeekdaysItem(SyntheticsDowntimeWeekday weekdaysItem) booleanReturn true if this SyntheticsDowntimeTimeSlotRecurrenceResponse object is equal to o.frequency(SyntheticsDowntimeFrequency frequency) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The recurrence frequency of a Synthetics downtime time slot.The interval between recurrences, relative to the frequency.getUntil()A specific date and time used to define the start or end of a Synthetics downtime time slot.Positions of the weekdays within a month for a monthly Synthetics downtime recurrence.Days of the week for a Synthetics downtime recurrence schedule.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetFrequency(SyntheticsDowntimeFrequency frequency) voidsetInterval(Long interval) voidvoidsetWeekdayPositions(List<SyntheticsDowntimeWeekdayPosition> weekdayPositions) voidsetWeekdays(List<SyntheticsDowntimeWeekday> weekdays) toString()weekdayPositions(List<SyntheticsDowntimeWeekdayPosition> weekdayPositions) weekdays(List<SyntheticsDowntimeWeekday> weekdays)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FREQUENCY
- See Also:
-
JSON_PROPERTY_INTERVAL
- See Also:
-
JSON_PROPERTY_UNTIL
- See Also:
-
JSON_PROPERTY_WEEKDAY_POSITIONS
- See Also:
-
JSON_PROPERTY_WEEKDAYS
- See Also:
-
-
Constructor Details
-
SyntheticsDowntimeTimeSlotRecurrenceResponse
public SyntheticsDowntimeTimeSlotRecurrenceResponse() -
SyntheticsDowntimeTimeSlotRecurrenceResponse
public SyntheticsDowntimeTimeSlotRecurrenceResponse(SyntheticsDowntimeFrequency frequency, Long interval, List<SyntheticsDowntimeWeekday> weekdays)
-
-
Method Details
-
frequency
public SyntheticsDowntimeTimeSlotRecurrenceResponse frequency(SyntheticsDowntimeFrequency frequency) -
getFrequency
The recurrence frequency of a Synthetics downtime time slot.- Returns:
- frequency
-
setFrequency
-
interval
-
getInterval
The interval between recurrences, relative to the frequency.- Returns:
- interval
-
setInterval
-
until
-
getUntil
A specific date and time used to define the start or end of a Synthetics downtime time slot.- Returns:
- until
-
setUntil
-
weekdayPositions
public SyntheticsDowntimeTimeSlotRecurrenceResponse weekdayPositions(List<SyntheticsDowntimeWeekdayPosition> weekdayPositions) -
addWeekdayPositionsItem
public SyntheticsDowntimeTimeSlotRecurrenceResponse addWeekdayPositionsItem(SyntheticsDowntimeWeekdayPosition weekdayPositionsItem) -
getWeekdayPositions
Positions of the weekdays within a month for a monthly Synthetics downtime recurrence. Used in combination withweekdaysto schedule occurrences such as "the first Monday of the month".- Returns:
- weekdayPositions
-
setWeekdayPositions
-
weekdays
public SyntheticsDowntimeTimeSlotRecurrenceResponse weekdays(List<SyntheticsDowntimeWeekday> weekdays) -
addWeekdaysItem
public SyntheticsDowntimeTimeSlotRecurrenceResponse addWeekdaysItem(SyntheticsDowntimeWeekday weekdaysItem) -
getWeekdays
Days of the week for a Synthetics downtime recurrence schedule.- Returns:
- weekdays
-
setWeekdays
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- SyntheticsDowntimeTimeSlotRecurrenceResponse
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this SyntheticsDowntimeTimeSlotRecurrenceResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-