@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ItemizedMetricStats extends Object implements Serializable, Cloneable, StructuredPojo
Aggregated statistics about a measure affected by an anomaly.
Constructor and Description |
---|
ItemizedMetricStats() |
Modifier and Type | Method and Description |
---|---|
ItemizedMetricStats |
clone() |
boolean |
equals(Object obj) |
String |
getMetricName()
The name of the measure.
|
Integer |
getOccurrenceCount()
The number of times that the measure appears.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMetricName(String metricName)
The name of the measure.
|
void |
setOccurrenceCount(Integer occurrenceCount)
The number of times that the measure appears.
|
String |
toString()
Returns a string representation of this object.
|
ItemizedMetricStats |
withMetricName(String metricName)
The name of the measure.
|
ItemizedMetricStats |
withOccurrenceCount(Integer occurrenceCount)
The number of times that the measure appears.
|
public void setMetricName(String metricName)
The name of the measure.
metricName
- The name of the measure.public String getMetricName()
The name of the measure.
public ItemizedMetricStats withMetricName(String metricName)
The name of the measure.
metricName
- The name of the measure.public void setOccurrenceCount(Integer occurrenceCount)
The number of times that the measure appears.
occurrenceCount
- The number of times that the measure appears.public Integer getOccurrenceCount()
The number of times that the measure appears.
public ItemizedMetricStats withOccurrenceCount(Integer occurrenceCount)
The number of times that the measure appears.
occurrenceCount
- The number of times that the measure appears.public String toString()
toString
in class Object
Object.toString()
public ItemizedMetricStats clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.