@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsDowntimeTimeSlotRequest extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_DURATION |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_RECURRENCE |
static String |
JSON_PROPERTY_START |
static String |
JSON_PROPERTY_TIMEZONE |
boolean |
unparsed |
| Constructor and Description |
|---|
SyntheticsDowntimeTimeSlotRequest() |
SyntheticsDowntimeTimeSlotRequest(Long duration,
SyntheticsDowntimeTimeSlotDate start,
String timezone) |
| Modifier and Type | Method and Description |
|---|---|
SyntheticsDowntimeTimeSlotRequest |
duration(Long duration) |
boolean |
equals(Object o)
Return true if this SyntheticsDowntimeTimeSlotRequest object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Long |
getDuration()
The duration of the time slot in seconds, between 60 and 604800.
|
String |
getName()
An optional label for the time slot.
|
SyntheticsDowntimeTimeSlotRecurrenceRequest |
getRecurrence()
Recurrence settings for a Synthetics downtime time slot.
|
SyntheticsDowntimeTimeSlotDate |
getStart()
A specific date and time used to define the start or end of a Synthetics downtime time slot.
|
String |
getTimezone()
The IANA timezone name for the time slot.
|
int |
hashCode() |
SyntheticsDowntimeTimeSlotRequest |
name(String name) |
SyntheticsDowntimeTimeSlotRequest |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
SyntheticsDowntimeTimeSlotRequest |
recurrence(SyntheticsDowntimeTimeSlotRecurrenceRequest recurrence) |
void |
setDuration(Long duration) |
void |
setName(String name) |
void |
setRecurrence(SyntheticsDowntimeTimeSlotRecurrenceRequest recurrence) |
void |
setStart(SyntheticsDowntimeTimeSlotDate start) |
void |
setTimezone(String timezone) |
SyntheticsDowntimeTimeSlotRequest |
start(SyntheticsDowntimeTimeSlotDate start) |
SyntheticsDowntimeTimeSlotRequest |
timezone(String timezone) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_DURATION
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_RECURRENCE
public static final String JSON_PROPERTY_START
public static final String JSON_PROPERTY_TIMEZONE
public SyntheticsDowntimeTimeSlotRequest()
public SyntheticsDowntimeTimeSlotRequest(Long duration, SyntheticsDowntimeTimeSlotDate start, String timezone)
public SyntheticsDowntimeTimeSlotRequest duration(Long duration)
public Long getDuration()
public void setDuration(Long duration)
public SyntheticsDowntimeTimeSlotRequest name(String name)
@Nullable public String getName()
public void setName(String name)
public SyntheticsDowntimeTimeSlotRequest recurrence(SyntheticsDowntimeTimeSlotRecurrenceRequest recurrence)
@Nullable public SyntheticsDowntimeTimeSlotRecurrenceRequest getRecurrence()
public void setRecurrence(SyntheticsDowntimeTimeSlotRecurrenceRequest recurrence)
public SyntheticsDowntimeTimeSlotRequest start(SyntheticsDowntimeTimeSlotDate start)
public SyntheticsDowntimeTimeSlotDate getStart()
public void setStart(SyntheticsDowntimeTimeSlotDate start)
public SyntheticsDowntimeTimeSlotRequest timezone(String timezone)
public String getTimezone()
public void setTimezone(String timezone)
public SyntheticsDowntimeTimeSlotRequest putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.