|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.cloudwatch.model.Metric
public class Metric
Metric
Constructor Summary | |
---|---|
Metric()
|
Method Summary | |
---|---|
List<Dimension> |
getDimensions()
Returns the value of the Dimensions property for this object. |
String |
getMeasureName()
Returns the value of the MeasureName property for this object. |
String |
getNamespace()
Returns the value of the Namespace property for this object. |
void |
setDimensions(Collection<Dimension> dimensions)
Sets the value of the Dimensions property for this object. |
void |
setMeasureName(String measureName)
Sets the value of the MeasureName property for this object. |
void |
setNamespace(String namespace)
Sets the value of the Namespace property for this object. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Metric |
withDimensions(Collection<Dimension> dimensions)
Sets the value of the Dimensions property for this object. |
Metric |
withDimensions(Dimension... dimensions)
Sets the value of the Dimensions property for this object. |
Metric |
withMeasureName(String measureName)
Sets the value of the MeasureName property for this object. |
Metric |
withNamespace(String namespace)
Sets the value of the Namespace property for this object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Metric()
Method Detail |
---|
public String getMeasureName()
public void setMeasureName(String measureName)
measureName
- The new value for the MeasureName property for this object.public Metric withMeasureName(String measureName)
Returns a reference to this object so that method calls can be chained together.
measureName
- The new value for the MeasureName property for this object.
public List<Dimension> getDimensions()
public void setDimensions(Collection<Dimension> dimensions)
dimensions
- The new value for the Dimensions property for this object.public Metric withDimensions(Dimension... dimensions)
Returns a reference to this object so that method calls can be chained together.
dimensions
- The new value for the Dimensions property for this object.
public Metric withDimensions(Collection<Dimension> dimensions)
Returns a reference to this object so that method calls can be chained together.
dimensions
- The new value for the Dimensions property for this object.
public String getNamespace()
Constraints:
Pattern: [^:].*
public void setNamespace(String namespace)
Constraints:
Pattern: [^:].*
namespace
- The new value for the Namespace property for this object.public Metric withNamespace(String namespace)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [^:].*
namespace
- The new value for the Namespace property for this object.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |