Package com.datadog.api.client.v1.model
Class SLOCorrectionCreateRequestAttributes
java.lang.Object
com.datadog.api.client.v1.model.SLOCorrectionCreateRequestAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SLOCorrectionCreateRequestAttributes
extends Object
The attribute object associated with the SLO correction to be created.
Exactly one of slo_id or slo_query must be provided.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSLOCorrectionCreateRequestAttributes(SLOCorrectionCategory category, Long start) -
Method Summary
Modifier and TypeMethodDescriptioncategory(SLOCorrectionCategory category) description(String description) booleanReturn true if this SLOCorrectionCreateRequestAttributes 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.getSloId()ID of the single SLO that this correction applies to.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) voidvoidvoidvoidsetSloQuery(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_ID
- See Also:
-
JSON_PROPERTY_SLO_QUERY
- See Also:
-
JSON_PROPERTY_START
- See Also:
-
JSON_PROPERTY_TIMEZONE
- See Also:
-
-
Constructor Details
-
SLOCorrectionCreateRequestAttributes
public SLOCorrectionCreateRequestAttributes() -
SLOCorrectionCreateRequestAttributes
-
-
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
-
sloId
-
getSloId
ID of the single SLO that this correction applies to.- Returns:
- sloId
-
setSloId
-
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:
- SLOCorrectionCreateRequestAttributes
-
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 SLOCorrectionCreateRequestAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-