Class DowntimeUpdateRequestAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DowntimeUpdateRequestAttributes extends Object
Attributes of the downtime to update.
  • Field Details

  • Constructor Details

    • DowntimeUpdateRequestAttributes

      public DowntimeUpdateRequestAttributes()
  • Method Details

    • displayTimezone

      public DowntimeUpdateRequestAttributes 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 DowntimeUpdateRequestAttributes 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 DowntimeUpdateRequestAttributes monitorIdentifier(DowntimeMonitorIdentifier monitorIdentifier)
    • getMonitorIdentifier

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

      public void setMonitorIdentifier(DowntimeMonitorIdentifier monitorIdentifier)
    • muteFirstRecoveryNotification

      public DowntimeUpdateRequestAttributes 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 DowntimeUpdateRequestAttributes notifyEndStates(List<DowntimeNotifyEndStateTypes> notifyEndStates)
    • addNotifyEndStatesItem

      public DowntimeUpdateRequestAttributes 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 DowntimeUpdateRequestAttributes notifyEndTypes(List<DowntimeNotifyEndStateActions> notifyEndTypes)
    • addNotifyEndTypesItem

      public DowntimeUpdateRequestAttributes 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 DowntimeScheduleUpdateRequest getSchedule()
      Schedule for the downtime.
      Returns:
      schedule
    • setSchedule

      public void setSchedule(DowntimeScheduleUpdateRequest schedule)
    • scope

    • getScope

      @Nullable 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 DowntimeUpdateRequestAttributes 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:
      DowntimeUpdateRequestAttributes
    • 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 DowntimeUpdateRequestAttributes 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