public class MetricsConfiguration extends Object implements Serializable
Constructor and Description |
---|
MetricsConfiguration() |
Modifier and Type | Method and Description |
---|---|
MetricsFilter |
getFilter()
Returns the metrics configuration filter.
|
String |
getId()
Returns the identifier used to represent a metrics configuration.
|
void |
setFilter(MetricsFilter filter)
Sets a metrics configuration filter.
|
void |
setId(String id)
Sets the identifier used to represent a metrics configuration.
|
MetricsConfiguration |
withFilter(MetricsFilter filter)
Sets a metrics configuration filter and returns
MetricsConfiguration
object for method chaining. |
MetricsConfiguration |
withId(String id)
Sets the identifier used to represent a metrics configuration
and return this object for method chaining.
|
public String getId()
public void setId(String id)
public MetricsConfiguration withId(String id)
public MetricsFilter getFilter()
public void setFilter(MetricsFilter filter)
public MetricsConfiguration withFilter(MetricsFilter filter)
MetricsConfiguration
object for method chaining. The metrics configuration will only include objects that meet the filter's criteria.
The filter may be omitted to get metrics for the entire bucket.Copyright © 2022. All rights reserved.