Package com.datadog.api.client.v2.model
Class SyntheticsDowntimeTimeSlotRecurrenceRequest
java.lang.Object
com.datadog.api.client.v2.model.SyntheticsDowntimeTimeSlotRecurrenceRequest
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsDowntimeTimeSlotRecurrenceRequest
extends Object
Recurrence settings for a Synthetics downtime time slot.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionaddWeekdayPositionsItem(SyntheticsDowntimeWeekdayPosition weekdayPositionsItem) addWeekdaysItem(SyntheticsDowntimeWeekday weekdaysItem) booleanReturn true if this SyntheticsDowntimeTimeSlotRecurrenceRequest object is equal to o.frequency(SyntheticsDowntimeFrequency frequency) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getEnd()A specific date and time used to define the start or end of a Synthetics downtime time slot.The recurrence frequency of a Synthetics downtime time slot.The interval between recurrences, relative to the frequency.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.voidvoidsetFrequency(SyntheticsDowntimeFrequency frequency) voidsetInterval(Long interval) voidsetWeekdayPositions(List<SyntheticsDowntimeWeekdayPosition> weekdayPositions) voidsetWeekdays(List<SyntheticsDowntimeWeekday> weekdays) toString()weekdayPositions(List<SyntheticsDowntimeWeekdayPosition> weekdayPositions) weekdays(List<SyntheticsDowntimeWeekday> weekdays)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_END
- See Also:
-
JSON_PROPERTY_FREQUENCY
- See Also:
-
JSON_PROPERTY_INTERVAL
- See Also:
-
JSON_PROPERTY_WEEKDAY_POSITIONS
- See Also:
-
JSON_PROPERTY_WEEKDAYS
- See Also:
-
-
Constructor Details
-
SyntheticsDowntimeTimeSlotRecurrenceRequest
public SyntheticsDowntimeTimeSlotRecurrenceRequest() -
SyntheticsDowntimeTimeSlotRecurrenceRequest
-
-
Method Details
-
end
-
getEnd
A specific date and time used to define the start or end of a Synthetics downtime time slot.- Returns:
- end
-
setEnd
-
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
-
weekdayPositions
public SyntheticsDowntimeTimeSlotRecurrenceRequest weekdayPositions(List<SyntheticsDowntimeWeekdayPosition> weekdayPositions) -
addWeekdayPositionsItem
public SyntheticsDowntimeTimeSlotRecurrenceRequest 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 SyntheticsDowntimeTimeSlotRecurrenceRequest weekdays(List<SyntheticsDowntimeWeekday> weekdays) -
addWeekdaysItem
public SyntheticsDowntimeTimeSlotRecurrenceRequest 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:
- SyntheticsDowntimeTimeSlotRecurrenceRequest
-
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 SyntheticsDowntimeTimeSlotRecurrenceRequest object is equal to o. -
hashCode
public int hashCode() -
toString
-