@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricReference extends Object implements Serializable, Cloneable
The reference (threshold) for a metric.
Constructor and Description |
---|
MetricReference() |
Modifier and Type | Method and Description |
---|---|
MetricReference |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the metric reference.
|
ReferenceDetails |
getReferenceDetails()
The details of a performance issue.
|
int |
hashCode() |
void |
setName(String name)
The name of the metric reference.
|
void |
setReferenceDetails(ReferenceDetails referenceDetails)
The details of a performance issue.
|
String |
toString()
Returns a string representation of this object.
|
MetricReference |
withName(String name)
The name of the metric reference.
|
MetricReference |
withReferenceDetails(ReferenceDetails referenceDetails)
The details of a performance issue.
|
public void setName(String name)
The name of the metric reference.
name
- The name of the metric reference.public String getName()
The name of the metric reference.
public MetricReference withName(String name)
The name of the metric reference.
name
- The name of the metric reference.public void setReferenceDetails(ReferenceDetails referenceDetails)
The details of a performance issue.
referenceDetails
- The details of a performance issue.public ReferenceDetails getReferenceDetails()
The details of a performance issue.
public MetricReference withReferenceDetails(ReferenceDetails referenceDetails)
The details of a performance issue.
referenceDetails
- The details of a performance issue.public String toString()
toString
in class Object
Object.toString()
public MetricReference clone()