Class RoutingRuleEscalationPolicyActionSupportHours

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class RoutingRuleEscalationPolicyActionSupportHours extends Object
Support hours during which the escalation policy will be executed. Outside of these hours, the escalation policy will be on hold and triggered once the next support hours window starts. This is mutually exclusive with the top-level time_restriction field on the routing rule.
  • Field Details

  • Constructor Details

    • RoutingRuleEscalationPolicyActionSupportHours

      public RoutingRuleEscalationPolicyActionSupportHours()
    • RoutingRuleEscalationPolicyActionSupportHours

      public RoutingRuleEscalationPolicyActionSupportHours(String timeZone)
  • Method Details

    • restrictions

    • addRestrictionsItem

      public RoutingRuleEscalationPolicyActionSupportHours addRestrictionsItem(TimeRestriction restrictionsItem)
    • getRestrictions

      @Nullable public List<TimeRestriction> getRestrictions()
      The list of support hours time windows.
      Returns:
      restrictions
    • setRestrictions

      public void setRestrictions(List<TimeRestriction> restrictions)
    • timeZone

    • getTimeZone

      public String getTimeZone()
      The time zone in which the support hours are expressed.
      Returns:
      timeZone
    • setTimeZone

      public void setTimeZone(String timeZone)
    • putAdditionalProperty

      public RoutingRuleEscalationPolicyActionSupportHours 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:
      RoutingRuleEscalationPolicyActionSupportHours
    • 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 RoutingRuleEscalationPolicyActionSupportHours 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