public class EnhancedMetrics
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents enhanced metrics types.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
shardLevelMetrics
List of shard-level metrics.
|
Constructor and Description |
---|
EnhancedMetrics() |
Modifier and Type | Method and Description |
---|---|
EnhancedMetrics |
clone() |
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(MetricsName... shardLevelMetrics)
List of shard-level metrics.
|
EnhancedMetrics |
withShardLevelMetrics(java.lang.String... shardLevelMetrics)
List of shard-level metrics.
|
private SdkInternalList<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 Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
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 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.
IncomingBytes
IncomingRecords
OutgoingBytes
OutgoingRecords
WriteProvisionedThroughputExceeded
ReadProvisionedThroughputExceeded
IteratorAgeMilliseconds
ALL
For more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
MetricsName
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 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.
IncomingBytes
IncomingRecords
OutgoingBytes
OutgoingRecords
WriteProvisionedThroughputExceeded
ReadProvisionedThroughputExceeded
IteratorAgeMilliseconds
ALL
For more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
MetricsName
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 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.
IncomingBytes
IncomingRecords
OutgoingBytes
OutgoingRecords
WriteProvisionedThroughputExceeded
ReadProvisionedThroughputExceeded
IteratorAgeMilliseconds
ALL
For more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
MetricsName
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 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.
IncomingBytes
IncomingRecords
OutgoingBytes
OutgoingRecords
WriteProvisionedThroughputExceeded
ReadProvisionedThroughputExceeded
IteratorAgeMilliseconds
ALL
For more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
MetricsName
public EnhancedMetrics withShardLevelMetrics(MetricsName... 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 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.
IncomingBytes
IncomingRecords
OutgoingBytes
OutgoingRecords
WriteProvisionedThroughputExceeded
ReadProvisionedThroughputExceeded
IteratorAgeMilliseconds
ALL
For more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
MetricsName
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public EnhancedMetrics clone()
clone
in class java.lang.Object