@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class MaintenanceWindow extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ATTRIBUTES |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
MaintenanceWindow() |
MaintenanceWindow(MaintenanceWindowAttributes attributes,
String id,
MaintenanceWindowResourceType type) |
| Modifier and Type | Method and Description |
|---|---|
MaintenanceWindow |
attributes(MaintenanceWindowAttributes attributes) |
boolean |
equals(Object o)
Return true if this MaintenanceWindow 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.
|
MaintenanceWindowAttributes |
getAttributes()
Attributes of a maintenance window, including its schedule and the query that determines which
cases are affected.
|
String |
getId()
The maintenance window's identifier.
|
MaintenanceWindowResourceType |
getType()
JSON:API resource type for maintenance windows.
|
int |
hashCode() |
MaintenanceWindow |
id(String id) |
MaintenanceWindow |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAttributes(MaintenanceWindowAttributes attributes) |
void |
setId(String id) |
void |
setType(MaintenanceWindowResourceType type) |
String |
toString() |
MaintenanceWindow |
type(MaintenanceWindowResourceType type) |
public boolean unparsed
public static final String JSON_PROPERTY_ATTRIBUTES
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_TYPE
public MaintenanceWindow()
public MaintenanceWindow(MaintenanceWindowAttributes attributes, String id, MaintenanceWindowResourceType type)
public MaintenanceWindow attributes(MaintenanceWindowAttributes attributes)
public MaintenanceWindowAttributes getAttributes()
public void setAttributes(MaintenanceWindowAttributes attributes)
public MaintenanceWindow id(String id)
public String getId()
public void setId(String id)
public MaintenanceWindow type(MaintenanceWindowResourceType type)
public MaintenanceWindowResourceType getType()
public void setType(MaintenanceWindowResourceType type)
public MaintenanceWindow 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.