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