Class FleetScheduleV2RecurrenceRule

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class FleetScheduleV2RecurrenceRule extends Object
Defines the recurrence pattern for the schedule.
  • Field Details

  • Constructor Details

    • FleetScheduleV2RecurrenceRule

      public FleetScheduleV2RecurrenceRule()
  • Method Details

    • daysOfWeek

      public FleetScheduleV2RecurrenceRule daysOfWeek(List<String> daysOfWeek)
    • addDaysOfWeekItem

      public FleetScheduleV2RecurrenceRule addDaysOfWeekItem(String daysOfWeekItem)
    • getDaysOfWeek

      @Nullable public List<String> getDaysOfWeek()
      Days of the week when the schedule triggers. Valid values are "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun".
      Returns:
      daysOfWeek
    • setDaysOfWeek

      public void setDaysOfWeek(List<String> daysOfWeek)
    • interval

      public FleetScheduleV2RecurrenceRule interval(Long interval)
    • getInterval

      @Nullable public Long getInterval()
      Interval between schedule runs in weeks. 1 means the schedule runs every week on the specified days. Higher values repeat every N weeks.
      Returns:
      interval
    • setInterval

      public void setInterval(Long interval)
    • maintenanceWindowDuration

      public FleetScheduleV2RecurrenceRule maintenanceWindowDuration(Long maintenanceWindowDuration)
    • getMaintenanceWindowDuration

      @Nullable public Long getMaintenanceWindowDuration()
      Duration of the maintenance window in minutes.
      Returns:
      maintenanceWindowDuration
    • setMaintenanceWindowDuration

      public void setMaintenanceWindowDuration(Long maintenanceWindowDuration)
    • startMaintenanceWindow

      public FleetScheduleV2RecurrenceRule startMaintenanceWindow(String startMaintenanceWindow)
    • getStartMaintenanceWindow

      @Nullable public String getStartMaintenanceWindow()
      Start time of the maintenance window in 24-hour clock format (HHMM). Deployments are triggered at this time on the specified days.
      Returns:
      startMaintenanceWindow
    • setStartMaintenanceWindow

      public void setStartMaintenanceWindow(String startMaintenanceWindow)
    • timezone

      public FleetScheduleV2RecurrenceRule timezone(String timezone)
    • getTimezone

      @Nullable public String getTimezone()
      Timezone in IANA Time Zone Database format.
      Returns:
      timezone
    • setTimezone

      public void setTimezone(String timezone)
    • putAdditionalProperty

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