Package com.datadog.api.client.v1.model
Class SLOCorrectionUpdateRequestAttributes
java.lang.Object
com.datadog.api.client.v1.model.SLOCorrectionUpdateRequestAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SLOCorrectionUpdateRequestAttributes
extends Object
The attribute object associated with the SLO correction to be updated.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncategory(SLOCorrectionCategory category) description(String description) booleanReturn true if this SLOCorrectionUpdateRequestAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Category the SLO correction belongs to.Description of the correction being made.Length of time (in seconds) for a specifiedrrulerecurring SLO correction.getEnd()Ending time of the correction in epoch seconds.getRrule()The recurrence rules as defined in the iCalendar RFC 5545.Query that matches the SLOs this correction applies to.getStart()Starting time of the correction in epoch seconds.The timezone to display in the UI for the correction times (defaults to "UTC").inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCategory(SLOCorrectionCategory category) voidsetDescription(String description) voidsetDuration(Long duration) voidvoidvoidsetSloQuery(String sloQuery) voidvoidsetTimezone(String timezone) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CATEGORY
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_DURATION
- See Also:
-
JSON_PROPERTY_END
- See Also:
-
JSON_PROPERTY_RRULE
- See Also:
-
JSON_PROPERTY_SLO_QUERY
- See Also:
-
JSON_PROPERTY_START
- See Also:
-
JSON_PROPERTY_TIMEZONE
- See Also:
-
-
Constructor Details
-
SLOCorrectionUpdateRequestAttributes
public SLOCorrectionUpdateRequestAttributes()
-
-
Method Details
-
category
-
getCategory
Category the SLO correction belongs to.- Returns:
- category
-
setCategory
-
description
-
getDescription
Description of the correction being made.- Returns:
- description
-
setDescription
-
duration
-
getDuration
Length of time (in seconds) for a specifiedrrulerecurring SLO correction.- Returns:
- duration
-
setDuration
-
end
-
getEnd
Ending time of the correction in epoch seconds.- Returns:
- end
-
setEnd
-
rrule
-
getRrule
The recurrence rules as defined in the iCalendar RFC 5545. The supported rules for SLO corrections areFREQ,INTERVAL,COUNT,UNTILandBYDAY.- Returns:
- rrule
-
setRrule
-
sloQuery
-
getSloQuery
Query that matches the SLOs this correction applies to. The query uses the Events search syntax and can filter SLOs by SLO tags.- Returns:
- sloQuery
-
setSloQuery
-
start
-
getStart
Starting time of the correction in epoch seconds.- Returns:
- start
-
setStart
-
timezone
-
getTimezone
The timezone to display in the UI for the correction times (defaults to "UTC").- Returns:
- timezone
-
setTimezone
-
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:
- SLOCorrectionUpdateRequestAttributes
-
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 SLOCorrectionUpdateRequestAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-