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:
  • Constructor Details

    • MetricTransformation

      public MetricTransformation()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public MetricTransformation clone()
      Overrides:
      clone in class Object