Class FleetScheduleV2NotificationRule

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class FleetScheduleV2NotificationRule extends Object
Notification configuration attached to a schedule.

Included when available. If the notification rule cannot be retrieved, this field is omitted and the schedule is still returned. If the notification rule is retrieved but its handles cannot be resolved, it is still included with an empty handles array.

  • Field Details

  • Constructor Details

    • FleetScheduleV2NotificationRule

      public FleetScheduleV2NotificationRule()
  • Method Details

    • handles

      public FleetScheduleV2NotificationRule handles(List<String> handles)
    • addHandlesItem

      public FleetScheduleV2NotificationRule addHandlesItem(String handlesItem)
    • getHandles

      @Nullable public List<String> getHandles()
      Notification handles (for example, Slack channels or PagerDuty integrations).
      Returns:
      handles
    • setHandles

      public void setHandles(List<String> handles)
    • tags

    • addTagsItem

      public FleetScheduleV2NotificationRule addTagsItem(String tagsItem)
    • getTags

      @Nullable public List<String> getTags()
      Tags associated with the notification rule.
      Returns:
      tags
    • setTags

      public void setTags(List<String> tags)
    • putAdditionalProperty

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