@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class FleetScheduleV2Attributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CREATED_AT |
static String |
JSON_PROPERTY_CREATED_BY |
static String |
JSON_PROPERTY_IS_DEFAULT |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_NEXT_RUN |
static String |
JSON_PROPERTY_NOTIFICATION_RULE |
static String |
JSON_PROPERTY_QUERY |
static String |
JSON_PROPERTY_RULE |
static String |
JSON_PROPERTY_STATUS |
static String |
JSON_PROPERTY_UPDATED_AT |
static String |
JSON_PROPERTY_UPDATED_BY |
static String |
JSON_PROPERTY_VERSION_TO_LATEST |
boolean |
unparsed |
| Constructor and Description |
|---|
FleetScheduleV2Attributes() |
| Modifier and Type | Method and Description |
|---|---|
FleetScheduleV2Attributes |
createdAt(String createdAt) |
FleetScheduleV2Attributes |
createdBy(String createdBy) |
boolean |
equals(Object o)
Return true if this FleetScheduleV2Attributes 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 |
getCreatedAt()
RFC3339 timestamp when the schedule was created.
|
String |
getCreatedBy()
User handle of the person who created the schedule.
|
Boolean |
getIsDefault()
Whether this is the default schedule for the organization.
|
String |
getName()
Human-readable name for the schedule.
|
String |
getNextRun()
RFC3339 timestamp of the next scheduled maintenance window start time.
|
FleetScheduleV2NotificationRule |
getNotificationRule()
Notification configuration attached to a schedule.
|
String |
getQuery()
Query used to filter and select target hosts for scheduled deployments.
|
FleetScheduleV2RecurrenceRule |
getRule()
Defines the recurrence pattern for the schedule.
|
FleetScheduleStatus |
getStatus()
The status of the schedule.
|
String |
getUpdatedAt()
RFC3339 timestamp when the schedule was last updated.
|
String |
getUpdatedBy()
User handle of the person who last updated the schedule.
|
Long |
getVersionToLatest()
Number of major versions behind the latest to target for upgrades.
|
int |
hashCode() |
FleetScheduleV2Attributes |
isDefault(Boolean isDefault) |
FleetScheduleV2Attributes |
name(String name) |
FleetScheduleV2Attributes |
nextRun(String nextRun) |
FleetScheduleV2Attributes |
notificationRule(FleetScheduleV2NotificationRule notificationRule) |
FleetScheduleV2Attributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
FleetScheduleV2Attributes |
query(String query) |
FleetScheduleV2Attributes |
rule(FleetScheduleV2RecurrenceRule rule) |
void |
setCreatedAt(String createdAt) |
void |
setCreatedBy(String createdBy) |
void |
setIsDefault(Boolean isDefault) |
void |
setName(String name) |
void |
setNextRun(String nextRun) |
void |
setNotificationRule(FleetScheduleV2NotificationRule notificationRule) |
void |
setQuery(String query) |
void |
setRule(FleetScheduleV2RecurrenceRule rule) |
void |
setStatus(FleetScheduleStatus status) |
void |
setUpdatedAt(String updatedAt) |
void |
setUpdatedBy(String updatedBy) |
void |
setVersionToLatest(Long versionToLatest) |
FleetScheduleV2Attributes |
status(FleetScheduleStatus status) |
String |
toString() |
FleetScheduleV2Attributes |
updatedAt(String updatedAt) |
FleetScheduleV2Attributes |
updatedBy(String updatedBy) |
FleetScheduleV2Attributes |
versionToLatest(Long versionToLatest) |
public boolean unparsed
public static final String JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_CREATED_BY
public static final String JSON_PROPERTY_IS_DEFAULT
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NEXT_RUN
public static final String JSON_PROPERTY_NOTIFICATION_RULE
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_UPDATED_AT
public static final String JSON_PROPERTY_UPDATED_BY
public static final String JSON_PROPERTY_VERSION_TO_LATEST
public FleetScheduleV2Attributes createdAt(String createdAt)
@Nullable public String getCreatedAt()
public void setCreatedAt(String createdAt)
public FleetScheduleV2Attributes createdBy(String createdBy)
@Nullable public String getCreatedBy()
public void setCreatedBy(String createdBy)
public FleetScheduleV2Attributes isDefault(Boolean isDefault)
@Nullable public Boolean getIsDefault()
public void setIsDefault(Boolean isDefault)
public FleetScheduleV2Attributes name(String name)
@Nullable public String getName()
public void setName(String name)
public FleetScheduleV2Attributes nextRun(String nextRun)
@Nullable public String getNextRun()
public void setNextRun(String nextRun)
public FleetScheduleV2Attributes notificationRule(FleetScheduleV2NotificationRule notificationRule)
@Nullable public FleetScheduleV2NotificationRule getNotificationRule()
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 handles array.
public void setNotificationRule(FleetScheduleV2NotificationRule notificationRule)
public FleetScheduleV2Attributes query(String query)
@Nullable public String getQuery()
public void setQuery(String query)
public FleetScheduleV2Attributes rule(FleetScheduleV2RecurrenceRule rule)
@Nullable public FleetScheduleV2RecurrenceRule getRule()
public void setRule(FleetScheduleV2RecurrenceRule rule)
public FleetScheduleV2Attributes 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 FleetScheduleV2Attributes updatedAt(String updatedAt)
@Nullable public String getUpdatedAt()
public void setUpdatedAt(String updatedAt)
public FleetScheduleV2Attributes updatedBy(String updatedBy)
@Nullable public String getUpdatedBy()
public void setUpdatedBy(String updatedBy)
public FleetScheduleV2Attributes versionToLatest(Long versionToLatest)
@Nullable public Long getVersionToLatest()
public void setVersionToLatest(Long versionToLatest)
public FleetScheduleV2Attributes 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.