Package com.amazonaws.metrics
Class SimpleServiceMetricType
- java.lang.Object
-
- com.amazonaws.metrics.SimpleMetricType
-
- com.amazonaws.metrics.SimpleServiceMetricType
-
- All Implemented Interfaces:
MetricType
,ServiceMetricType
- Direct Known Subclasses:
SimpleThroughputMetricType
public class SimpleServiceMetricType extends SimpleMetricType implements ServiceMetricType
-
-
Field Summary
-
Fields inherited from interface com.amazonaws.metrics.ServiceMetricType
DOWNLOAD_BYTE_COUNT_NAME_SUFFIX, DOWNLOAD_THROUGHPUT_NAME_SUFFIX, UPLOAD_BYTE_COUNT_NAME_SUFFIX, UPLOAD_THROUGHPUT_NAME_SUFFIX
-
-
Constructor Summary
Constructors Constructor Description SimpleServiceMetricType(String name, String serviceName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getServiceName()
String
name()
Non-null name of the metric type.-
Methods inherited from class com.amazonaws.metrics.SimpleMetricType
equals, hashCode, toString
-
-
-
-
Method Detail
-
name
public String name()
Description copied from interface:MetricType
Non-null name of the metric type. Used to uniquely identify the metric type. Therefore, the name returned must be globally unique across all metric types that implement this interface.- Specified by:
name
in interfaceMetricType
- Specified by:
name
in classSimpleMetricType
-
getServiceName
public String getServiceName()
- Specified by:
getServiceName
in interfaceServiceMetricType
-
-