Package com.datadog.api.client.v2.model
Class MaintenanceWindowAttributes
java.lang.Object
com.datadog.api.client.v2.model.MaintenanceWindowAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MaintenanceWindowAttributes
extends Object
Attributes of a maintenance window, including its schedule and the query that determines which
cases are affected.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMaintenanceWindowAttributes(OffsetDateTime endAt, String name, String query, OffsetDateTime startAt) -
Method Summary
Modifier and TypeMethodDescriptionendAt(OffsetDateTime endAt) booleanReturn true if this MaintenanceWindowAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The UUID of the user who created this maintenance window.getEndAt()The ISO 8601 timestamp when the maintenance window ends and normal notification behavior resumes.getName()A human-readable name for the maintenance window (for example,Database migration - Dec 15).getQuery()A case search query that determines which cases are affected during the maintenance window.The ISO 8601 timestamp when the maintenance window begins and notifications start being suppressed.The UUID of the user who last modified this maintenance window.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetEndAt(OffsetDateTime endAt) voidvoidvoidsetStartAt(OffsetDateTime startAt) startAt(OffsetDateTime startAt) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CREATED_BY
- See Also:
-
JSON_PROPERTY_END_AT
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
JSON_PROPERTY_START_AT
- See Also:
-
JSON_PROPERTY_UPDATED_BY
- See Also:
-
-
Constructor Details
-
MaintenanceWindowAttributes
public MaintenanceWindowAttributes() -
MaintenanceWindowAttributes
public MaintenanceWindowAttributes(OffsetDateTime endAt, String name, String query, OffsetDateTime startAt)
-
-
Method Details
-
getCreatedBy
The UUID of the user who created this maintenance window. Read-only.- Returns:
- createdBy
-
endAt
-
getEndAt
The ISO 8601 timestamp when the maintenance window ends and normal notification behavior resumes.- Returns:
- endAt
-
setEndAt
-
name
-
getName
A human-readable name for the maintenance window (for example,Database migration - Dec 15).- Returns:
- name
-
setName
-
query
-
getQuery
A case search query that determines which cases are affected during the maintenance window. Uses the same syntax as the Case Management search bar.- Returns:
- query
-
setQuery
-
startAt
-
getStartAt
The ISO 8601 timestamp when the maintenance window begins and notifications start being suppressed.- Returns:
- startAt
-
setStartAt
-
getUpdatedBy
The UUID of the user who last modified this maintenance window. Read-only.- Returns:
- updatedBy
-
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:
- MaintenanceWindowAttributes
-
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 MaintenanceWindowAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-