Package com.datadog.api.client.v2.model
Class SloReportCreateRequestAttributes
java.lang.Object
com.datadog.api.client.v2.model.SloReportCreateRequestAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SloReportCreateRequestAttributes
extends Object
The attributes portion of the SLO report request.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this SloReportCreateRequestAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Thefromtimestamp for the report in epoch seconds.The frequency at which report data is to be generated.getQuery()The query string used to filter SLO results.The timezone used to determine the start and end of each interval.getToTs()Thetotimestamp for the report in epoch seconds.inthashCode()interval(SLOReportInterval interval) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetInterval(SLOReportInterval interval) voidvoidsetTimezone(String timezone) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FROM_TS
- See Also:
-
JSON_PROPERTY_INTERVAL
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
JSON_PROPERTY_TIMEZONE
- See Also:
-
JSON_PROPERTY_TO_TS
- See Also:
-
-
Constructor Details
-
SloReportCreateRequestAttributes
public SloReportCreateRequestAttributes() -
SloReportCreateRequestAttributes
-
-
Method Details
-
fromTs
-
getFromTs
Thefromtimestamp for the report in epoch seconds.- Returns:
- fromTs
-
setFromTs
-
interval
-
getInterval
The frequency at which report data is to be generated.- Returns:
- interval
-
setInterval
-
query
-
getQuery
The query string used to filter SLO results. Some examples of queries includeservice:<service-name>andslo-name.- Returns:
- query
-
setQuery
-
timezone
-
getTimezone
The timezone used to determine the start and end of each interval. For example, weekly intervals start at 12am on Sunday in the specified timezone.- Returns:
- timezone
-
setTimezone
-
toTs
-
getToTs
Thetotimestamp for the report in epoch seconds.- Returns:
- toTs
-
setToTs
-
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:
- SloReportCreateRequestAttributes
-
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 SloReportCreateRequestAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-