@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class FleetSchedulePatchAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_QUERY |
static String |
JSON_PROPERTY_RULE |
static String |
JSON_PROPERTY_STATUS |
static String |
JSON_PROPERTY_VERSION_TO_LATEST |
boolean |
unparsed |
| Constructor and Description |
|---|
FleetSchedulePatchAttributes() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this FleetSchedulePatchAttributes object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getName()
Human-readable name for the schedule.
|
String |
getQuery()
Query used to filter and select target hosts for scheduled deployments.
|
FleetScheduleRecurrenceRule |
getRule()
Defines the recurrence pattern for the schedule.
|
FleetScheduleStatus |
getStatus()
The status of the schedule.
|
Long |
getVersionToLatest()
Number of major versions behind the latest to target for upgrades.
|
int |
hashCode() |
FleetSchedulePatchAttributes |
name(String name) |
FleetSchedulePatchAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
FleetSchedulePatchAttributes |
query(String query) |
FleetSchedulePatchAttributes |
rule(FleetScheduleRecurrenceRule rule) |
void |
setName(String name) |
void |
setQuery(String query) |
void |
setRule(FleetScheduleRecurrenceRule rule) |
void |
setStatus(FleetScheduleStatus status) |
void |
setVersionToLatest(Long versionToLatest) |
FleetSchedulePatchAttributes |
status(FleetScheduleStatus status) |
String |
toString() |
FleetSchedulePatchAttributes |
versionToLatest(Long versionToLatest) |
public boolean unparsed
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_QUERY
public static final String JSON_PROPERTY_RULE
public static final String JSON_PROPERTY_STATUS
public static final String JSON_PROPERTY_VERSION_TO_LATEST
public FleetSchedulePatchAttributes name(String name)
@Nullable public String getName()
public void setName(String name)
public FleetSchedulePatchAttributes query(String query)
@Nullable public String getQuery()
public void setQuery(String query)
public FleetSchedulePatchAttributes rule(FleetScheduleRecurrenceRule rule)
@Nullable public FleetScheduleRecurrenceRule getRule()
public void setRule(FleetScheduleRecurrenceRule rule)
public FleetSchedulePatchAttributes status(FleetScheduleStatus status)
@Nullable public FleetScheduleStatus getStatus()
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.public void setStatus(FleetScheduleStatus status)
public FleetSchedulePatchAttributes versionToLatest(Long versionToLatest)
@Nullable public Long getVersionToLatest()
public void setVersionToLatest(Long versionToLatest)
public FleetSchedulePatchAttributes putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.