@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DowntimeCreateRequestAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_DISPLAY_TIMEZONE |
static String |
JSON_PROPERTY_MESSAGE |
static String |
JSON_PROPERTY_MONITOR_IDENTIFIER |
static String |
JSON_PROPERTY_MUTE_FIRST_RECOVERY_NOTIFICATION |
static String |
JSON_PROPERTY_NOTIFY_END_STATES |
static String |
JSON_PROPERTY_NOTIFY_END_TYPES |
static String |
JSON_PROPERTY_SCHEDULE |
static String |
JSON_PROPERTY_SCOPE |
boolean |
unparsed |
| Constructor and Description |
|---|
DowntimeCreateRequestAttributes() |
DowntimeCreateRequestAttributes(DowntimeMonitorIdentifier monitorIdentifier,
String scope) |
| Modifier and Type | Method and Description |
|---|---|
DowntimeCreateRequestAttributes |
addNotifyEndStatesItem(DowntimeNotifyEndStateTypes notifyEndStatesItem) |
DowntimeCreateRequestAttributes |
addNotifyEndTypesItem(DowntimeNotifyEndStateActions notifyEndTypesItem) |
DowntimeCreateRequestAttributes |
displayTimezone(String displayTimezone) |
boolean |
equals(Object o)
Return true if this DowntimeCreateRequestAttributes 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.
|
org.openapitools.jackson.nullable.JsonNullable<String> |
getDisplayTimezone_JsonNullable() |
String |
getDisplayTimezone()
The timezone in which to display the downtime's start and end times in Datadog applications.
|
org.openapitools.jackson.nullable.JsonNullable<String> |
getMessage_JsonNullable() |
String |
getMessage()
A message to include with notifications for this downtime.
|
DowntimeMonitorIdentifier |
getMonitorIdentifier()
Monitor identifier for the downtime.
|
Boolean |
getMuteFirstRecoveryNotification()
If the first recovery notification during a downtime should be muted.
|
List<DowntimeNotifyEndStateTypes> |
getNotifyEndStates()
States that will trigger a monitor notification when the
notify_end_types action
occurs. |
List<DowntimeNotifyEndStateActions> |
getNotifyEndTypes()
Actions that will trigger a monitor notification if the downtime is in the
notify_end_types state. |
DowntimeScheduleCreateRequest |
getSchedule()
Schedule for the downtime.
|
String |
getScope()
The scope to which the downtime applies.
|
int |
hashCode() |
DowntimeCreateRequestAttributes |
message(String message) |
DowntimeCreateRequestAttributes |
monitorIdentifier(DowntimeMonitorIdentifier monitorIdentifier) |
DowntimeCreateRequestAttributes |
muteFirstRecoveryNotification(Boolean muteFirstRecoveryNotification) |
DowntimeCreateRequestAttributes |
notifyEndStates(List<DowntimeNotifyEndStateTypes> notifyEndStates) |
DowntimeCreateRequestAttributes |
notifyEndTypes(List<DowntimeNotifyEndStateActions> notifyEndTypes) |
DowntimeCreateRequestAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
DowntimeCreateRequestAttributes |
schedule(DowntimeScheduleCreateRequest schedule) |
DowntimeCreateRequestAttributes |
scope(String scope) |
void |
setDisplayTimezone_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> displayTimezone) |
void |
setDisplayTimezone(String displayTimezone) |
void |
setMessage_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> message) |
void |
setMessage(String message) |
void |
setMonitorIdentifier(DowntimeMonitorIdentifier monitorIdentifier) |
void |
setMuteFirstRecoveryNotification(Boolean muteFirstRecoveryNotification) |
void |
setNotifyEndStates(List<DowntimeNotifyEndStateTypes> notifyEndStates) |
void |
setNotifyEndTypes(List<DowntimeNotifyEndStateActions> notifyEndTypes) |
void |
setSchedule(DowntimeScheduleCreateRequest schedule) |
void |
setScope(String scope) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_DISPLAY_TIMEZONE
public static final String JSON_PROPERTY_MESSAGE
public static final String JSON_PROPERTY_MONITOR_IDENTIFIER
public static final String JSON_PROPERTY_MUTE_FIRST_RECOVERY_NOTIFICATION
public static final String JSON_PROPERTY_NOTIFY_END_STATES
public static final String JSON_PROPERTY_NOTIFY_END_TYPES
public static final String JSON_PROPERTY_SCHEDULE
public static final String JSON_PROPERTY_SCOPE
public DowntimeCreateRequestAttributes()
public DowntimeCreateRequestAttributes(DowntimeMonitorIdentifier monitorIdentifier, String scope)
public DowntimeCreateRequestAttributes displayTimezone(String displayTimezone)
@Nullable public String getDisplayTimezone()
public org.openapitools.jackson.nullable.JsonNullable<String> getDisplayTimezone_JsonNullable()
public void setDisplayTimezone_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> displayTimezone)
public void setDisplayTimezone(String displayTimezone)
public DowntimeCreateRequestAttributes message(String message)
@Nullable public String getMessage()
@username notation as events.public org.openapitools.jackson.nullable.JsonNullable<String> getMessage_JsonNullable()
public void setMessage_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> message)
public void setMessage(String message)
public DowntimeCreateRequestAttributes monitorIdentifier(DowntimeMonitorIdentifier monitorIdentifier)
public DowntimeMonitorIdentifier getMonitorIdentifier()
public void setMonitorIdentifier(DowntimeMonitorIdentifier monitorIdentifier)
public DowntimeCreateRequestAttributes muteFirstRecoveryNotification(Boolean muteFirstRecoveryNotification)
@Nullable public Boolean getMuteFirstRecoveryNotification()
public void setMuteFirstRecoveryNotification(Boolean muteFirstRecoveryNotification)
public DowntimeCreateRequestAttributes notifyEndStates(List<DowntimeNotifyEndStateTypes> notifyEndStates)
public DowntimeCreateRequestAttributes addNotifyEndStatesItem(DowntimeNotifyEndStateTypes notifyEndStatesItem)
@Nullable public List<DowntimeNotifyEndStateTypes> getNotifyEndStates()
notify_end_types action
occurs.public void setNotifyEndStates(List<DowntimeNotifyEndStateTypes> notifyEndStates)
public DowntimeCreateRequestAttributes notifyEndTypes(List<DowntimeNotifyEndStateActions> notifyEndTypes)
public DowntimeCreateRequestAttributes addNotifyEndTypesItem(DowntimeNotifyEndStateActions notifyEndTypesItem)
@Nullable public List<DowntimeNotifyEndStateActions> getNotifyEndTypes()
notify_end_types state.public void setNotifyEndTypes(List<DowntimeNotifyEndStateActions> notifyEndTypes)
public DowntimeCreateRequestAttributes schedule(DowntimeScheduleCreateRequest schedule)
@Nullable public DowntimeScheduleCreateRequest getSchedule()
public void setSchedule(DowntimeScheduleCreateRequest schedule)
public DowntimeCreateRequestAttributes scope(String scope)
public String getScope()
public void setScope(String scope)
public DowntimeCreateRequestAttributes 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 © 2024. All rights reserved.