Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDaysOfWeekItem(String daysOfWeekItem) daysOfWeek(List<String> daysOfWeek) booleanReturn true if this FleetScheduleV2RecurrenceRule object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Days of the week when the schedule triggers.Interval between schedule runs in weeks.Duration of the maintenance window in minutes.Start time of the maintenance window in 24-hour clock format (HHMM).Timezone in IANA Time Zone Database format.inthashCode()maintenanceWindowDuration(Long maintenanceWindowDuration) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDaysOfWeek(List<String> daysOfWeek) voidsetInterval(Long interval) voidsetMaintenanceWindowDuration(Long maintenanceWindowDuration) voidsetStartMaintenanceWindow(String startMaintenanceWindow) voidsetTimezone(String timezone) startMaintenanceWindow(String startMaintenanceWindow) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DAYS_OF_WEEK
- See Also:
-
JSON_PROPERTY_INTERVAL
- See Also:
-
JSON_PROPERTY_MAINTENANCE_WINDOW_DURATION
- See Also:
-
JSON_PROPERTY_START_MAINTENANCE_WINDOW
- See Also:
-
JSON_PROPERTY_TIMEZONE
- See Also:
-
-
Constructor Details
-
FleetScheduleV2RecurrenceRule
public FleetScheduleV2RecurrenceRule()
-
-
Method Details
-
daysOfWeek
-
addDaysOfWeekItem
-
getDaysOfWeek
Days of the week when the schedule triggers. Valid values are "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun".- Returns:
- daysOfWeek
-
setDaysOfWeek
-
interval
-
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
-
maintenanceWindowDuration
-
getMaintenanceWindowDuration
Duration of the maintenance window in minutes.- Returns:
- maintenanceWindowDuration
-
setMaintenanceWindowDuration
-
startMaintenanceWindow
-
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
-
timezone
-
getTimezone
Timezone in IANA Time Zone Database format.- Returns:
- timezone
-
setTimezone
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- FleetScheduleV2RecurrenceRule
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this FleetScheduleV2RecurrenceRule object is equal to o. -
hashCode
public int hashCode() -
toString
-