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 MetricTransformation
clone()
boolean
equals(Object obj)
String
getMetricName()
String
getMetricNamespace()
String
getMetricValue()
int
hashCode()
void
setMetricName(String metricName)
void
setMetricNamespace(String metricNamespace)
void
setMetricValue(String metricValue)
String
toString()
Returns a string representation of this object; useful for testing and debugging.MetricTransformation
withMetricName(String metricName)
MetricTransformation
withMetricNamespace(String metricNamespace)
MetricTransformation
withMetricValue(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public MetricTransformation clone()
-
-