Class FleetScheduleRecurrenceRule

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class FleetScheduleRecurrenceRule extends Object
Defines the recurrence pattern for the schedule. Specifies when deployments should be automatically triggered based on maintenance windows.
  • Field Details

    • unparsed

      public boolean unparsed
    • JSON_PROPERTY_DAYS_OF_WEEK

      public static final String JSON_PROPERTY_DAYS_OF_WEEK
      See Also:
    • JSON_PROPERTY_MAINTENANCE_WINDOW_DURATION

      public static final String JSON_PROPERTY_MAINTENANCE_WINDOW_DURATION
      See Also:
    • JSON_PROPERTY_START_MAINTENANCE_WINDOW

      public static final String JSON_PROPERTY_START_MAINTENANCE_WINDOW
      See Also:
    • JSON_PROPERTY_TIMEZONE

      public static final String JSON_PROPERTY_TIMEZONE
      See Also:
  • Constructor Details

    • FleetScheduleRecurrenceRule

      public FleetScheduleRecurrenceRule()
    • FleetScheduleRecurrenceRule

      public FleetScheduleRecurrenceRule(List<String> daysOfWeek, Long maintenanceWindowDuration, String startMaintenanceWindow, String timezone)
  • Method Details

    • daysOfWeek

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

      public FleetScheduleRecurrenceRule addDaysOfWeekItem(String daysOfWeekItem)
    • getDaysOfWeek

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

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

      public FleetScheduleRecurrenceRule maintenanceWindowDuration(Long maintenanceWindowDuration)
    • getMaintenanceWindowDuration

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

      public void setMaintenanceWindowDuration(Long maintenanceWindowDuration)
    • startMaintenanceWindow

      public FleetScheduleRecurrenceRule startMaintenanceWindow(String startMaintenanceWindow)
    • getStartMaintenanceWindow

      public String getStartMaintenanceWindow()
      Start time of the maintenance window in 24-hour clock format (HH:MM). Deployments will be triggered at this time on the specified days.
      Returns:
      startMaintenanceWindow
    • setStartMaintenanceWindow

      public void setStartMaintenanceWindow(String startMaintenanceWindow)
    • timezone

      public FleetScheduleRecurrenceRule timezone(String timezone)
    • getTimezone

      public String getTimezone()
      Timezone for the schedule in IANA Time Zone Database format (e.g., "America/New_York", "UTC").
      Returns:
      timezone
    • setTimezone

      public void setTimezone(String timezone)
    • putAdditionalProperty

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