com.amazonaws.services.s3.metrics
Class S3ServiceMetric

java.lang.Object
  extended by com.amazonaws.metrics.SimpleMetricType
      extended by 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
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
 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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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 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.