Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDaysOfWeekItem(String daysOfWeekItem) daysOfWeek(List<String> daysOfWeek) booleanReturn true if this FleetScheduleRecurrenceRule object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.List of days of the week when the schedule should trigger.Duration of the maintenance window in minutes.Start time of the maintenance window in 24-hour clock format (HH:MM).Timezone for the schedule in IANA Time Zone Database format (e.g., "America/New_York", "UTC").inthashCode()maintenanceWindowDuration(Long maintenanceWindowDuration) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDaysOfWeek(List<String> daysOfWeek) 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_MAINTENANCE_WINDOW_DURATION
- See Also:
-
JSON_PROPERTY_START_MAINTENANCE_WINDOW
- See Also:
-
JSON_PROPERTY_TIMEZONE
- See Also:
-
-
Constructor Details
-
FleetScheduleRecurrenceRule
public FleetScheduleRecurrenceRule() -
FleetScheduleRecurrenceRule
-
-
Method Details
-
daysOfWeek
-
addDaysOfWeekItem
-
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
-
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 (HH:MM). Deployments will be triggered at this time on the specified days.- Returns:
- startMaintenanceWindow
-
setStartMaintenanceWindow
-
timezone
-
getTimezone
Timezone for the schedule in IANA Time Zone Database format (e.g., "America/New_York", "UTC").- 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:
- FleetScheduleRecurrenceRule
-
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 FleetScheduleRecurrenceRule object is equal to o. -
hashCode
public int hashCode() -
toString
-