Class MonitorOptionsSchedulingOptionsEvaluationWindow

java.lang.Object
com.datadog.api.client.v1.model.MonitorOptionsSchedulingOptionsEvaluationWindow

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class MonitorOptionsSchedulingOptionsEvaluationWindow extends Object
Configuration options for the evaluation window. If hour_starts is set, no other fields may be set. Otherwise, day_starts and month_starts must be set together.
  • Field Details

  • Constructor Details

    • MonitorOptionsSchedulingOptionsEvaluationWindow

      public MonitorOptionsSchedulingOptionsEvaluationWindow()
  • Method Details

    • dayStarts

    • getDayStarts

      @Nullable public String getDayStarts()
      The time of the day at which a one day cumulative evaluation window starts.
      Returns:
      dayStarts
    • setDayStarts

      public void setDayStarts(String dayStarts)
    • hourStarts

    • getHourStarts

      @Nullable public Integer getHourStarts()
      The minute of the hour at which a one hour cumulative evaluation window starts. minimum: 0 maximum: 59
      Returns:
      hourStarts
    • setHourStarts

      public void setHourStarts(Integer hourStarts)
    • monthStarts

      public MonitorOptionsSchedulingOptionsEvaluationWindow monthStarts(Integer monthStarts)
    • getMonthStarts

      @Nullable public Integer getMonthStarts()
      The day of the month at which a one month cumulative evaluation window starts. minimum: 1 maximum: 1
      Returns:
      monthStarts
    • setMonthStarts

      public void setMonthStarts(Integer monthStarts)
    • timezone

    • getTimezone

      @Nullable public String getTimezone()
      The timezone of the time of the day of the cumulative evaluation window start.
      Returns:
      timezone
    • setTimezone

      public void setTimezone(String timezone)
    • putAdditionalProperty

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