Package com.datadog.api.client.v1.model
Class MonitorOptionsAggregation
java.lang.Object
com.datadog.api.client.v1.model.MonitorOptionsAggregation
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MonitorOptionsAggregation
extends Object
Type of aggregation performed in the monitor query.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this MonitorOptionsAggregation object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Group to break down the monitor on.Metric name used in the monitor.getType()Metric type used in the monitor.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetGroupBy(String groupBy) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_GROUP_BY
- See Also:
-
JSON_PROPERTY_METRIC
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
MonitorOptionsAggregation
public MonitorOptionsAggregation()
-
-
Method Details
-
groupBy
-
getGroupBy
Group to break down the monitor on.- Returns:
- groupBy
-
setGroupBy
-
metric
-
getMetric
Metric name used in the monitor.- Returns:
- metric
-
setMetric
-
type
-
getType
Metric type used in the monitor.- Returns:
- type
-
setType
-
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:
- MonitorOptionsAggregation
-
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 MonitorOptionsAggregation object is equal to o. -
hashCode
public int hashCode() -
toString
-