Package com.datadog.api.client.v2.model
Class FleetScheduleAttributes
java.lang.Object
com.datadog.api.client.v2.model.FleetScheduleAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class FleetScheduleAttributes
extends Object
Attributes of a schedule in the response.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAtUnix(Long createdAtUnix) booleanReturn true if this FleetScheduleAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Unix timestamp (seconds since epoch) when the schedule was created.User handle of the person who created the schedule.getName()Human-readable name for the 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.Unix timestamp (seconds since epoch) 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()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCreatedAtUnix(Long createdAtUnix) voidsetCreatedBy(String createdBy) voidvoidvoidvoidsetStatus(FleetScheduleStatus status) voidsetUpdatedAtUnix(Long updatedAtUnix) voidsetUpdatedBy(String updatedBy) voidsetVersionToLatest(Long versionToLatest) status(FleetScheduleStatus status) toString()updatedAtUnix(Long updatedAtUnix) versionToLatest(Long versionToLatest)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CREATED_AT_UNIX
- See Also:
-
JSON_PROPERTY_CREATED_BY
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
JSON_PROPERTY_RULE
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_UPDATED_AT_UNIX
- See Also:
-
JSON_PROPERTY_UPDATED_BY
- See Also:
-
JSON_PROPERTY_VERSION_TO_LATEST
- See Also:
-
-
Constructor Details
-
FleetScheduleAttributes
public FleetScheduleAttributes()
-
-
Method Details
-
createdAtUnix
-
getCreatedAtUnix
Unix timestamp (seconds since epoch) when the schedule was created.- Returns:
- createdAtUnix
-
setCreatedAtUnix
-
createdBy
-
getCreatedBy
User handle of the person who created the schedule.- Returns:
- createdBy
-
setCreatedBy
-
name
-
getName
Human-readable name for the schedule.- Returns:
- name
-
setName
-
query
-
getQuery
Query used to filter and select target hosts for scheduled deployments. Uses the Datadog query syntax.- Returns:
- query
-
setQuery
-
rule
-
getRule
Defines the recurrence pattern for the schedule. Specifies when deployments should be automatically triggered based on maintenance windows.- 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
-
updatedAtUnix
-
getUpdatedAtUnix
Unix timestamp (seconds since epoch) when the schedule was last updated.- Returns:
- updatedAtUnix
-
setUpdatedAtUnix
-
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 Maximum value is 2. 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:
- FleetScheduleAttributes
-
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 FleetScheduleAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-