@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class FleetScheduleCreateAttributes 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 |
|---|
FleetScheduleCreateAttributes() |
FleetScheduleCreateAttributes(String name,
String query,
FleetScheduleRecurrenceRule rule) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this FleetScheduleCreateAttributes 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() |
FleetScheduleCreateAttributes |
name(String name) |
FleetScheduleCreateAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
FleetScheduleCreateAttributes |
query(String query) |
FleetScheduleCreateAttributes |
rule(FleetScheduleRecurrenceRule rule) |
void |
setName(String name) |
void |
setQuery(String query) |
void |
setRule(FleetScheduleRecurrenceRule rule) |
void |
setStatus(FleetScheduleStatus status) |
void |
setVersionToLatest(Long versionToLatest) |
FleetScheduleCreateAttributes |
status(FleetScheduleStatus status) |
String |
toString() |
FleetScheduleCreateAttributes |
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 FleetScheduleCreateAttributes()
public FleetScheduleCreateAttributes(String name, String query, FleetScheduleRecurrenceRule rule)
public FleetScheduleCreateAttributes name(String name)
public String getName()
public void setName(String name)
public FleetScheduleCreateAttributes query(String query)
public String getQuery()
public void setQuery(String query)
public FleetScheduleCreateAttributes rule(FleetScheduleRecurrenceRule rule)
public FleetScheduleRecurrenceRule getRule()
public void setRule(FleetScheduleRecurrenceRule rule)
public FleetScheduleCreateAttributes 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 FleetScheduleCreateAttributes versionToLatest(Long versionToLatest)
@Nullable public Long getVersionToLatest()
public void setVersionToLatest(Long versionToLatest)
public FleetScheduleCreateAttributes 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.