public class EnhancedMetrics extends Object implements Serializable, Cloneable
Represents enhanced metrics types.
| Constructor and Description |
|---|
EnhancedMetrics() |
| Modifier and Type | Method and Description |
|---|---|
EnhancedMetrics |
clone() |
boolean |
equals(Object obj) |
List<String> |
getShardLevelMetrics()
List of shard-level metrics.
|
int |
hashCode() |
void |
setShardLevelMetrics(Collection<String> shardLevelMetrics)
List of shard-level metrics.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EnhancedMetrics |
withShardLevelMetrics(Collection<String> shardLevelMetrics)
List of shard-level metrics.
|
EnhancedMetrics |
withShardLevelMetrics(MetricsName... shardLevelMetrics)
List of shard-level metrics.
|
EnhancedMetrics |
withShardLevelMetrics(String... shardLevelMetrics)
List of shard-level metrics.
|
public List<String> getShardLevelMetrics()
List of shard-level metrics.
The following are the valid shard-level metrics. The value "
ALL" enhances every metric.
IncomingBytesIncomingRecordsOutgoingBytesOutgoingRecordsWriteProvisionedThroughputExceededReadProvisionedThroughputExceededIteratorAgeMillisecondsALLFor more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
The following are the valid shard-level metrics. The value "
ALL" enhances every metric.
IncomingBytesIncomingRecordsOutgoingBytesOutgoingRecordsWriteProvisionedThroughputExceededReadProvisionedThroughputExceededIteratorAgeMillisecondsALLFor more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
MetricsNamepublic void setShardLevelMetrics(Collection<String> shardLevelMetrics)
List of shard-level metrics.
The following are the valid shard-level metrics. The value "
ALL" enhances every metric.
IncomingBytesIncomingRecordsOutgoingBytesOutgoingRecordsWriteProvisionedThroughputExceededReadProvisionedThroughputExceededIteratorAgeMillisecondsALLFor more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
shardLevelMetrics - List of shard-level metrics.
The following are the valid shard-level metrics. The value "
ALL" enhances every metric.
IncomingBytesIncomingRecordsOutgoingBytesOutgoingRecordsWriteProvisionedThroughputExceededReadProvisionedThroughputExceededIteratorAgeMillisecondsALLFor more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
MetricsNamepublic EnhancedMetrics withShardLevelMetrics(String... shardLevelMetrics)
List of shard-level metrics.
The following are the valid shard-level metrics. The value "
ALL" enhances every metric.
IncomingBytesIncomingRecordsOutgoingBytesOutgoingRecordsWriteProvisionedThroughputExceededReadProvisionedThroughputExceededIteratorAgeMillisecondsALLFor more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
NOTE: This method appends the values to the existing list (if
any). Use setShardLevelMetrics(java.util.Collection) or
withShardLevelMetrics(java.util.Collection) if you want to
override the existing values.
shardLevelMetrics - List of shard-level metrics.
The following are the valid shard-level metrics. The value "
ALL" enhances every metric.
IncomingBytesIncomingRecordsOutgoingBytesOutgoingRecordsWriteProvisionedThroughputExceededReadProvisionedThroughputExceededIteratorAgeMillisecondsALLFor more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
MetricsNamepublic EnhancedMetrics withShardLevelMetrics(Collection<String> shardLevelMetrics)
List of shard-level metrics.
The following are the valid shard-level metrics. The value "
ALL" enhances every metric.
IncomingBytesIncomingRecordsOutgoingBytesOutgoingRecordsWriteProvisionedThroughputExceededReadProvisionedThroughputExceededIteratorAgeMillisecondsALLFor more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
shardLevelMetrics - List of shard-level metrics.
The following are the valid shard-level metrics. The value "
ALL" enhances every metric.
IncomingBytesIncomingRecordsOutgoingBytesOutgoingRecordsWriteProvisionedThroughputExceededReadProvisionedThroughputExceededIteratorAgeMillisecondsALLFor more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
MetricsNamepublic EnhancedMetrics withShardLevelMetrics(MetricsName... shardLevelMetrics)
List of shard-level metrics.
The following are the valid shard-level metrics. The value "
ALL" enhances every metric.
IncomingBytesIncomingRecordsOutgoingBytesOutgoingRecordsWriteProvisionedThroughputExceededReadProvisionedThroughputExceededIteratorAgeMillisecondsALLFor more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
shardLevelMetrics - List of shard-level metrics.
The following are the valid shard-level metrics. The value "
ALL" enhances every metric.
IncomingBytesIncomingRecordsOutgoingBytesOutgoingRecordsWriteProvisionedThroughputExceededReadProvisionedThroughputExceededIteratorAgeMillisecondsALLFor more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
MetricsNamepublic String toString()
toString in class ObjectObject.toString()public EnhancedMetrics clone()
Copyright © 2016. All rights reserved.