public class EnhancedMetrics extends Object implements Serializable
Represents enhanced metrics types.
| Constructor and Description |
|---|
EnhancedMetrics() |
| Modifier and Type | Method and Description |
|---|---|
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(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.
IncomingBytes
IncomingRecords
OutgoingBytes
OutgoingRecords
WriteProvisionedThroughputExceeded
ReadProvisionedThroughputExceeded
IteratorAgeMilliseconds
ALL
For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.
List of shard-level metrics.
The following are the valid shard-level metrics. The value "
ALL" enhances every metric.
IncomingBytes
IncomingRecords
OutgoingBytes
OutgoingRecords
WriteProvisionedThroughputExceeded
ReadProvisionedThroughputExceeded
IteratorAgeMilliseconds
ALL
For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.
public void setShardLevelMetrics(Collection<String> shardLevelMetrics)
List of shard-level metrics.
The following are the valid shard-level metrics. The value "
ALL" enhances every metric.
IncomingBytes
IncomingRecords
OutgoingBytes
OutgoingRecords
WriteProvisionedThroughputExceeded
ReadProvisionedThroughputExceeded
IteratorAgeMilliseconds
ALL
For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.
shardLevelMetrics - List of shard-level metrics.
The following are the valid shard-level metrics. The value "
ALL" enhances every metric.
IncomingBytes
IncomingRecords
OutgoingBytes
OutgoingRecords
WriteProvisionedThroughputExceeded
ReadProvisionedThroughputExceeded
IteratorAgeMilliseconds
ALL
For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.
public EnhancedMetrics withShardLevelMetrics(String... shardLevelMetrics)
List of shard-level metrics.
The following are the valid shard-level metrics. The value "
ALL" enhances every metric.
IncomingBytes
IncomingRecords
OutgoingBytes
OutgoingRecords
WriteProvisionedThroughputExceeded
ReadProvisionedThroughputExceeded
IteratorAgeMilliseconds
ALL
For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.
Returns a reference to this object so that method calls can be chained together.
shardLevelMetrics - List of shard-level metrics.
The following are the valid shard-level metrics. The value "
ALL" enhances every metric.
IncomingBytes
IncomingRecords
OutgoingBytes
OutgoingRecords
WriteProvisionedThroughputExceeded
ReadProvisionedThroughputExceeded
IteratorAgeMilliseconds
ALL
For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.
public EnhancedMetrics withShardLevelMetrics(Collection<String> shardLevelMetrics)
List of shard-level metrics.
The following are the valid shard-level metrics. The value "
ALL" enhances every metric.
IncomingBytes
IncomingRecords
OutgoingBytes
OutgoingRecords
WriteProvisionedThroughputExceeded
ReadProvisionedThroughputExceeded
IteratorAgeMilliseconds
ALL
For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.
Returns a reference to this object so that method calls can be chained together.
shardLevelMetrics - List of shard-level metrics.
The following are the valid shard-level metrics. The value "
ALL" enhances every metric.
IncomingBytes
IncomingRecords
OutgoingBytes
OutgoingRecords
WriteProvisionedThroughputExceeded
ReadProvisionedThroughputExceeded
IteratorAgeMilliseconds
ALL
For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.