@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BaselineMetric extends Object implements Serializable, Cloneable, StructuredPojo
An individual metric that you can use for comparison as you evaluate your monitoring results.
Constructor and Description |
---|
BaselineMetric() |
Modifier and Type | Method and Description |
---|---|
BaselineMetric |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the metric.
|
Double |
getValue()
The value for the metric.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the metric.
|
void |
setValue(Double value)
The value for the metric.
|
String |
toString()
Returns a string representation of this object.
|
BaselineMetric |
withName(String name)
The name of the metric.
|
BaselineMetric |
withValue(Double value)
The value for the metric.
|
public void setName(String name)
The name of the metric.
name
- The name of the metric.public String getName()
The name of the metric.
public BaselineMetric withName(String name)
The name of the metric.
name
- The name of the metric.public void setValue(Double value)
The value for the metric.
value
- The value for the metric.public Double getValue()
The value for the metric.
public BaselineMetric withValue(Double value)
The value for the metric.
value
- The value for the metric.public String toString()
toString
in class Object
Object.toString()
public BaselineMetric clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.