public class MetricsConfiguration
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
MetricsConfiguration() |
Modifier and Type | Method and Description |
---|---|
MetricsFilter |
getFilter() |
java.lang.String |
getId() |
void |
setFilter(MetricsFilter filter) |
void |
setId(java.lang.String id) |
MetricsConfiguration |
withFilter(MetricsFilter filter) |
MetricsConfiguration |
withId(java.lang.String id) |
public java.lang.String getId()
public void setId(java.lang.String id)
id
- the identifier used to represent a metrics configuration.public MetricsConfiguration withId(java.lang.String id)
id
- the identifier used to represent a metrics configurationpublic MetricsFilter getFilter()
public void setFilter(MetricsFilter filter)
filter
- a metrics configuration filter. 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.public MetricsConfiguration withFilter(MetricsFilter filter)
filter
- a metrics configuration filterMetricsConfiguration
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 © 2018 Amazon Web Services, Inc. All Rights Reserved.