Class DowntimeScheduleRecurrenceCreateUpdateRequest

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DowntimeScheduleRecurrenceCreateUpdateRequest extends Object
An object defining the recurrence of the downtime.
  • Field Details

  • Constructor Details

    • DowntimeScheduleRecurrenceCreateUpdateRequest

      public DowntimeScheduleRecurrenceCreateUpdateRequest()
    • DowntimeScheduleRecurrenceCreateUpdateRequest

      public DowntimeScheduleRecurrenceCreateUpdateRequest(String duration, String rrule)
  • Method Details

    • duration

    • getDuration

      public String getDuration()
      The length of the downtime. Must begin with an integer and end with one of 'm', 'h', d', or 'w'.
      Returns:
      duration
    • setDuration

      public void setDuration(String duration)
    • rrule

    • getRrule

      public String getRrule()
      The RRULE standard for defining recurring events. For example, to have a recurring event on the first day of each month, set the type to rrule and set the FREQ to MONTHLY and BYMONTHDAY to 1. Most common rrule options from the iCalendar Spec are supported.

      Note: Attributes specifying the duration in RRULE are not supported (for example, DTSTART, DTEND, DURATION). More examples available in this downtime guide.

      Returns:
      rrule
    • setRrule

      public void setRrule(String rrule)
    • start

    • getStart

      @Nullable public String getStart()
      ISO-8601 Datetime to start the downtime. Must not include a UTC offset. If not provided, the downtime starts the moment it is created.
      Returns:
      start
    • getStart_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getStart_JsonNullable()
    • setStart_JsonNullable

      public void setStart_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> start)
    • setStart

      public void setStart(String start)
    • putAdditionalProperty

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