@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SpansMetricCreateAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_COMPUTE |
static String |
JSON_PROPERTY_FILTER |
static String |
JSON_PROPERTY_GROUP_BY |
boolean |
unparsed |
| Constructor and Description |
|---|
SpansMetricCreateAttributes() |
SpansMetricCreateAttributes(SpansMetricCompute compute) |
| Modifier and Type | Method and Description |
|---|---|
SpansMetricCreateAttributes |
addGroupByItem(SpansMetricGroupBy groupByItem) |
SpansMetricCreateAttributes |
compute(SpansMetricCompute compute) |
boolean |
equals(Object o)
Return true if this SpansMetricCreateAttributes object is equal to o.
|
SpansMetricCreateAttributes |
filter(SpansMetricFilter filter) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
SpansMetricCompute |
getCompute()
The compute rule to compute the span-based metric.
|
SpansMetricFilter |
getFilter()
The span-based metric filter.
|
List<SpansMetricGroupBy> |
getGroupBy()
The rules for the group by.
|
SpansMetricCreateAttributes |
groupBy(List<SpansMetricGroupBy> groupBy) |
int |
hashCode() |
SpansMetricCreateAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setCompute(SpansMetricCompute compute) |
void |
setFilter(SpansMetricFilter filter) |
void |
setGroupBy(List<SpansMetricGroupBy> groupBy) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_COMPUTE
public static final String JSON_PROPERTY_FILTER
public static final String JSON_PROPERTY_GROUP_BY
public SpansMetricCreateAttributes()
public SpansMetricCreateAttributes(SpansMetricCompute compute)
public SpansMetricCreateAttributes compute(SpansMetricCompute compute)
public SpansMetricCompute getCompute()
public void setCompute(SpansMetricCompute compute)
public SpansMetricCreateAttributes filter(SpansMetricFilter filter)
@Nullable public SpansMetricFilter getFilter()
public void setFilter(SpansMetricFilter filter)
public SpansMetricCreateAttributes groupBy(List<SpansMetricGroupBy> groupBy)
public SpansMetricCreateAttributes addGroupByItem(SpansMetricGroupBy groupByItem)
@Nullable public List<SpansMetricGroupBy> getGroupBy()
public void setGroupBy(List<SpansMetricGroupBy> groupBy)
public SpansMetricCreateAttributes 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.