Class MetricTransformation
- java.lang.Object
-
- com.amazonaws.services.logs.model.MetricTransformation
-
- All Implemented Interfaces:
Serializable,Cloneable
public class MetricTransformation extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MetricTransformation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetricTransformationclone()booleanequals(Object obj)StringgetMetricName()StringgetMetricNamespace()StringgetMetricValue()inthashCode()voidsetMetricName(String metricName)voidsetMetricNamespace(String metricNamespace)voidsetMetricValue(String metricValue)StringtoString()Returns a string representation of this object; useful for testing and debugging.MetricTransformationwithMetricName(String metricName)MetricTransformationwithMetricNamespace(String metricNamespace)MetricTransformationwithMetricValue(String metricValue)
-
-
-
Method Detail
-
setMetricName
public void setMetricName(String metricName)
- Parameters:
metricName-
-
getMetricName
public String getMetricName()
- Returns:
-
withMetricName
public MetricTransformation withMetricName(String metricName)
- Parameters:
metricName-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMetricNamespace
public void setMetricNamespace(String metricNamespace)
- Parameters:
metricNamespace-
-
getMetricNamespace
public String getMetricNamespace()
- Returns:
-
withMetricNamespace
public MetricTransformation withMetricNamespace(String metricNamespace)
- Parameters:
metricNamespace-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMetricValue
public void setMetricValue(String metricValue)
- Parameters:
metricValue-
-
getMetricValue
public String getMetricValue()
- Returns:
-
withMetricValue
public MetricTransformation withMetricValue(String metricValue)
- Parameters:
metricValue-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public MetricTransformation clone()
-
-