@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CIAppCompute extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_AGGREGATION |
static String |
JSON_PROPERTY_INTERVAL |
static String |
JSON_PROPERTY_METRIC |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
CIAppCompute() |
CIAppCompute(CIAppAggregationFunction aggregation) |
| Modifier and Type | Method and Description |
|---|---|
CIAppCompute |
aggregation(CIAppAggregationFunction aggregation) |
boolean |
equals(Object o)
Return true if this CIAppCompute object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
CIAppAggregationFunction |
getAggregation()
An aggregation function.
|
String |
getInterval()
The time buckets' size (only used for type=timeseries) Defaults to a resolution of 150 points.
|
String |
getMetric()
The metric to use.
|
CIAppComputeType |
getType()
The type of compute.
|
int |
hashCode() |
CIAppCompute |
interval(String interval) |
CIAppCompute |
metric(String metric) |
CIAppCompute |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAggregation(CIAppAggregationFunction aggregation) |
void |
setInterval(String interval) |
void |
setMetric(String metric) |
void |
setType(CIAppComputeType type) |
String |
toString() |
CIAppCompute |
type(CIAppComputeType type) |
public boolean unparsed
public static final String JSON_PROPERTY_AGGREGATION
public static final String JSON_PROPERTY_INTERVAL
public static final String JSON_PROPERTY_METRIC
public static final String JSON_PROPERTY_TYPE
public CIAppCompute()
public CIAppCompute(CIAppAggregationFunction aggregation)
public CIAppCompute aggregation(CIAppAggregationFunction aggregation)
public CIAppAggregationFunction getAggregation()
public void setAggregation(CIAppAggregationFunction aggregation)
public CIAppCompute interval(String interval)
@Nullable public String getInterval()
public void setInterval(String interval)
public CIAppCompute metric(String metric)
@Nullable public String getMetric()
public void setMetric(String metric)
public CIAppCompute type(CIAppComputeType type)
@Nullable public CIAppComputeType getType()
public void setType(CIAppComputeType type)
public CIAppCompute putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.