Class DowntimeCreateRequestAttributes

java.lang.Object
com.datadog.api.client.v2.model.DowntimeCreateRequestAttributes

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DowntimeCreateRequestAttributes extends Object
Downtime details.
  • Field Details

  • Constructor Details

    • DowntimeCreateRequestAttributes

      public DowntimeCreateRequestAttributes()
    • DowntimeCreateRequestAttributes

      public DowntimeCreateRequestAttributes(DowntimeMonitorIdentifier monitorIdentifier, String scope)
  • Method Details

    • displayTimezone

      public DowntimeCreateRequestAttributes displayTimezone(String displayTimezone)
    • getDisplayTimezone

      @Nullable public String getDisplayTimezone()
      The timezone in which to display the downtime's start and end times in Datadog applications. This is not used as an offset for scheduling.
      Returns:
      displayTimezone
    • getDisplayTimezone_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getDisplayTimezone_JsonNullable()
    • setDisplayTimezone_JsonNullable

      public void setDisplayTimezone_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> displayTimezone)
    • setDisplayTimezone

      public void setDisplayTimezone(String displayTimezone)
    • message

      public DowntimeCreateRequestAttributes message(String message)
    • getMessage

      @Nullable public String getMessage()
      A message to include with notifications for this downtime. Email notifications can be sent to specific users by using the same @username notation as events.
      Returns:
      message
    • getMessage_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getMessage_JsonNullable()
    • setMessage_JsonNullable

      public void setMessage_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> message)
    • setMessage

      public void setMessage(String message)
    • monitorIdentifier

      public DowntimeCreateRequestAttributes monitorIdentifier(DowntimeMonitorIdentifier monitorIdentifier)
    • getMonitorIdentifier

      public DowntimeMonitorIdentifier getMonitorIdentifier()
      Monitor identifier for the downtime.
      Returns:
      monitorIdentifier
    • setMonitorIdentifier

      public void setMonitorIdentifier(DowntimeMonitorIdentifier monitorIdentifier)
    • muteFirstRecoveryNotification

      public DowntimeCreateRequestAttributes muteFirstRecoveryNotification(Boolean muteFirstRecoveryNotification)
    • getMuteFirstRecoveryNotification

      @Nullable public Boolean getMuteFirstRecoveryNotification()
      If the first recovery notification during a downtime should be muted.
      Returns:
      muteFirstRecoveryNotification
    • setMuteFirstRecoveryNotification

      public void setMuteFirstRecoveryNotification(Boolean muteFirstRecoveryNotification)
    • notifyEndStates

      public DowntimeCreateRequestAttributes notifyEndStates(List<DowntimeNotifyEndStateTypes> notifyEndStates)
    • addNotifyEndStatesItem

      public DowntimeCreateRequestAttributes addNotifyEndStatesItem(DowntimeNotifyEndStateTypes notifyEndStatesItem)
    • getNotifyEndStates

      @Nullable public List<DowntimeNotifyEndStateTypes> getNotifyEndStates()
      States that will trigger a monitor notification when the notify_end_types action occurs.
      Returns:
      notifyEndStates
    • setNotifyEndStates

      public void setNotifyEndStates(List<DowntimeNotifyEndStateTypes> notifyEndStates)
    • notifyEndTypes

      public DowntimeCreateRequestAttributes notifyEndTypes(List<DowntimeNotifyEndStateActions> notifyEndTypes)
    • addNotifyEndTypesItem

      public DowntimeCreateRequestAttributes addNotifyEndTypesItem(DowntimeNotifyEndStateActions notifyEndTypesItem)
    • getNotifyEndTypes

      @Nullable public List<DowntimeNotifyEndStateActions> getNotifyEndTypes()
      Actions that will trigger a monitor notification if the downtime is in the notify_end_types state.
      Returns:
      notifyEndTypes
    • setNotifyEndTypes

      public void setNotifyEndTypes(List<DowntimeNotifyEndStateActions> notifyEndTypes)
    • schedule

    • getSchedule

      @Nullable public DowntimeScheduleCreateRequest getSchedule()
      Schedule for the downtime.
      Returns:
      schedule
    • setSchedule

      public void setSchedule(DowntimeScheduleCreateRequest schedule)
    • scope

    • getScope

      public String getScope()
      The scope to which the downtime applies. Must follow the common search syntax.
      Returns:
      scope
    • setScope

      public void setScope(String scope)
    • putAdditionalProperty

      public DowntimeCreateRequestAttributes putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      DowntimeCreateRequestAttributes
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this DowntimeCreateRequestAttributes object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object