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 ID used to identify the metrics configuration.
|
void |
setFilter(MetricsFilter filter)
Sets a metrics configuration filter.
|
void |
setId(String id)
Sets the ID used to identify the metrics configuration.
|
MetricsConfiguration |
withFilter(MetricsFilter filter)
Sets a metrics configuration filter and returns
MetricsConfiguration
object for method chaining. |
MetricsConfiguration |
withId(String id)
Sets the ID used to identify the metrics configuration and returns 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.