Package com.datadog.api.client.v2.model
Class FleetScheduleV2Attributes
java.lang.Object
com.datadog.api.client.v2.model.FleetScheduleV2Attributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class FleetScheduleV2Attributes
extends Object
Attributes of a fleet schedule in the v2 API response.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this FleetScheduleV2Attributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.RFC3339 timestamp when the schedule was created.User handle of the person who created the schedule.Whether this is the default schedule for the organization.getName()Human-readable name for the schedule.RFC3339 timestamp of the next scheduled maintenance window start time.Notification configuration attached to a schedule.getQuery()Query used to filter and select target hosts for scheduled deployments.getRule()Defines the recurrence pattern for the schedule.The status of the schedule.RFC3339 timestamp when the schedule was last updated.User handle of the person who last updated the schedule.Number of major versions behind the latest to target for upgrades.inthashCode()notificationRule(FleetScheduleV2NotificationRule notificationRule) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCreatedAt(String createdAt) voidsetCreatedBy(String createdBy) voidsetIsDefault(Boolean isDefault) voidvoidsetNextRun(String nextRun) voidsetNotificationRule(FleetScheduleV2NotificationRule notificationRule) voidvoidvoidsetStatus(FleetScheduleStatus status) voidsetUpdatedAt(String updatedAt) voidsetUpdatedBy(String updatedBy) voidsetVersionToLatest(Long versionToLatest) status(FleetScheduleStatus status) toString()versionToLatest(Long versionToLatest)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_CREATED_BY
- See Also:
-
JSON_PROPERTY_IS_DEFAULT
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_NEXT_RUN
- See Also:
-
JSON_PROPERTY_NOTIFICATION_RULE
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
JSON_PROPERTY_RULE
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_UPDATED_AT
- See Also:
-
JSON_PROPERTY_UPDATED_BY
- See Also:
-
JSON_PROPERTY_VERSION_TO_LATEST
- See Also:
-
-
Constructor Details
-
FleetScheduleV2Attributes
public FleetScheduleV2Attributes()
-
-
Method Details
-
createdAt
-
getCreatedAt
RFC3339 timestamp when the schedule was created.- Returns:
- createdAt
-
setCreatedAt
-
createdBy
-
getCreatedBy
User handle of the person who created the schedule.- Returns:
- createdBy
-
setCreatedBy
-
isDefault
-
getIsDefault
Whether this is the default schedule for the organization.- Returns:
- isDefault
-
setIsDefault
-
name
-
getName
Human-readable name for the schedule.- Returns:
- name
-
setName
-
nextRun
-
getNextRun
RFC3339 timestamp of the next scheduled maintenance window start time. Absent when the next run time cannot be computed.- Returns:
- nextRun
-
setNextRun
-
notificationRule
-
getNotificationRule
Notification configuration attached to a schedule.Included when available. If the notification rule cannot be retrieved, this field is omitted and the schedule is still returned. If the notification rule is retrieved but its handles cannot be resolved, it is still included with an empty
handlesarray.- Returns:
- notificationRule
-
setNotificationRule
-
query
-
getQuery
Query used to filter and select target hosts for scheduled deployments.- Returns:
- query
-
setQuery
-
rule
-
getRule
Defines the recurrence pattern for the schedule.- Returns:
- rule
-
setRule
-
status
-
getStatus
The status of the schedule. -active: The schedule is active and will create deployments according to its recurrence rule. -inactive: The schedule is inactive and will not create any deployments.- Returns:
- status
-
setStatus
-
updatedAt
-
getUpdatedAt
RFC3339 timestamp when the schedule was last updated.- Returns:
- updatedAt
-
setUpdatedAt
-
updatedBy
-
getUpdatedBy
User handle of the person who last updated the schedule.- Returns:
- updatedBy
-
setUpdatedBy
-
versionToLatest
-
getVersionToLatest
Number of major versions behind the latest to target for upgrades. - 0: Always upgrade to the latest version. - 1: Upgrade to latest minus 1 major version. - 2: Upgrade to latest minus 2 major versions. minimum: 0 maximum: 2- Returns:
- versionToLatest
-
setVersionToLatest
-
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:
- FleetScheduleV2Attributes
-
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 FleetScheduleV2Attributes object is equal to o. -
hashCode
public int hashCode() -
toString
-