public class EnhancedMetrics
extends java.lang.Object
implements java.io.Serializable
Represents enhanced metrics types.
Constructor and Description |
---|
EnhancedMetrics() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getShardLevelMetrics()
List of shard-level metrics.
|
int |
hashCode() |
void |
setShardLevelMetrics(java.util.Collection<java.lang.String> shardLevelMetrics)
List of shard-level metrics.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EnhancedMetrics |
withShardLevelMetrics(java.util.Collection<java.lang.String> shardLevelMetrics)
List of shard-level metrics.
|
EnhancedMetrics |
withShardLevelMetrics(java.lang.String... shardLevelMetrics)
List of shard-level metrics.
|
public java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.