Class S3ServiceMetric
- java.lang.Object
-
- com.amazonaws.metrics.SimpleMetricType
-
- com.amazonaws.services.s3.metrics.S3ServiceMetric
-
- All Implemented Interfaces:
MetricType
,ServiceMetricType
public class S3ServiceMetric extends SimpleMetricType implements ServiceMetricType
S3 specific service metrics in the form of "simulated enum". The name of every enum literal defined in this class must all start with "S3" in order for the default AWS SDK metric collection system to recognize it as a predefined S3 metrics.
-
-
Field Summary
Fields Modifier and Type Field Description static S3ServiceMetric
S3DownloadByteCount
static com.amazonaws.services.s3.metrics.S3ServiceMetric.S3ThroughputMetric
S3DownloadThroughput
static S3ServiceMetric
S3UploadByteCount
static com.amazonaws.services.s3.metrics.S3ServiceMetric.S3ThroughputMetric
S3UploadThroughput
-
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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getServiceName()
String
name()
Non-null name of the metric type.static S3ServiceMetric
valueOf(String name)
static S3ServiceMetric[]
values()
-
Methods inherited from class com.amazonaws.metrics.SimpleMetricType
equals, hashCode, toString
-
-
-
-
Field Detail
-
S3DownloadThroughput
public static final com.amazonaws.services.s3.metrics.S3ServiceMetric.S3ThroughputMetric S3DownloadThroughput
-
S3DownloadByteCount
public static final S3ServiceMetric S3DownloadByteCount
-
S3UploadThroughput
public static final com.amazonaws.services.s3.metrics.S3ServiceMetric.S3ThroughputMetric S3UploadThroughput
-
S3UploadByteCount
public static final S3ServiceMetric S3UploadByteCount
-
-
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
-
values
public static S3ServiceMetric[] values()
-
valueOf
public static S3ServiceMetric valueOf(String name)
-
-