com.amazonaws.services.s3.metrics
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.
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
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 interface MetricType
- Specified by:
name
in class SimpleMetricType
getServiceName
public String getServiceName()
- Specified by:
getServiceName
in interface ServiceMetricType
values
public static S3ServiceMetric[] values()
valueOf
public static S3ServiceMetric valueOf(String name)
Copyright © 2016. All rights reserved.