public class EnableEnhancedMonitoringRequest extends AmazonWebServiceRequest implements Serializable
Enables enhanced Amazon Kinesis stream monitoring for shard-level metrics.
Constructor and Description |
---|
EnableEnhancedMonitoringRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<String> |
getShardLevelMetrics()
List of shard-level metrics to enable.
|
String |
getStreamName()
The name of the stream for which to enable enhanced monitoring.
|
int |
hashCode() |
void |
setShardLevelMetrics(Collection<String> shardLevelMetrics)
List of shard-level metrics to enable.
|
void |
setStreamName(String streamName)
The name of the stream for which to enable enhanced monitoring.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EnableEnhancedMonitoringRequest |
withShardLevelMetrics(Collection<String> shardLevelMetrics)
List of shard-level metrics to enable.
|
EnableEnhancedMonitoringRequest |
withShardLevelMetrics(String... shardLevelMetrics)
List of shard-level metrics to enable.
|
EnableEnhancedMonitoringRequest |
withStreamName(String streamName)
The name of the stream for which to enable enhanced monitoring.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getStreamName()
The name of the stream for which to enable enhanced monitoring.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
The name of the stream for which to enable enhanced monitoring.
public void setStreamName(String streamName)
The name of the stream for which to enable enhanced monitoring.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
streamName
- The name of the stream for which to enable enhanced monitoring.
public EnableEnhancedMonitoringRequest withStreamName(String streamName)
The name of the stream for which to enable enhanced monitoring.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
streamName
- The name of the stream for which to enable enhanced monitoring.
public List<String> getShardLevelMetrics()
List of shard-level metrics to enable.
The following are the valid shard-level metrics. The value "
ALL
" enables 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.
List of shard-level metrics to enable.
The following are the valid shard-level metrics. The value "
ALL
" enables 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 void setShardLevelMetrics(Collection<String> shardLevelMetrics)
List of shard-level metrics to enable.
The following are the valid shard-level metrics. The value "
ALL
" enables 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 to enable.
The following are the valid shard-level metrics. The value "
ALL
" enables 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 EnableEnhancedMonitoringRequest withShardLevelMetrics(String... shardLevelMetrics)
List of shard-level metrics to enable.
The following are the valid shard-level metrics. The value "
ALL
" enables 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.
Returns a reference to this object so that method calls can be chained together.
shardLevelMetrics
- List of shard-level metrics to enable.
The following are the valid shard-level metrics. The value "
ALL
" enables 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 EnableEnhancedMonitoringRequest withShardLevelMetrics(Collection<String> shardLevelMetrics)
List of shard-level metrics to enable.
The following are the valid shard-level metrics. The value "
ALL
" enables 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.
Returns a reference to this object so that method calls can be chained together.
shardLevelMetrics
- List of shard-level metrics to enable.
The following are the valid shard-level metrics. The value "
ALL
" enables 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 String toString()
toString
in class Object
Object.toString()
Copyright © 2017. All rights reserved.