CopyableBuilder<EnableEnhancedMonitoringRequest.Builder,EnableEnhancedMonitoringRequest>
, SdkBuilder<EnableEnhancedMonitoringRequest.Builder,EnableEnhancedMonitoringRequest>
public static interface EnableEnhancedMonitoringRequest.Builder extends CopyableBuilder<EnableEnhancedMonitoringRequest.Builder,EnableEnhancedMonitoringRequest>
Modifier and Type | Method | Description |
---|---|---|
EnableEnhancedMonitoringRequest.Builder |
shardLevelMetrics(String... shardLevelMetrics) |
List of shard-level metrics to enable.
|
EnableEnhancedMonitoringRequest.Builder |
shardLevelMetrics(Collection<String> shardLevelMetrics) |
List of shard-level metrics to enable.
|
EnableEnhancedMonitoringRequest.Builder |
shardLevelMetrics(MetricsName... shardLevelMetrics) |
List of shard-level metrics to enable.
|
EnableEnhancedMonitoringRequest.Builder |
streamName(String streamName) |
The name of the stream for which to enable enhanced monitoring.
|
copy
apply, build
EnableEnhancedMonitoringRequest.Builder streamName(String streamName)
The name of the stream for which to enable enhanced monitoring.
streamName
- The name of the stream for which to enable enhanced monitoring.EnableEnhancedMonitoringRequest.Builder shardLevelMetrics(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.
MetricsName
EnableEnhancedMonitoringRequest.Builder shardLevelMetrics(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.
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 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.
MetricsName
EnableEnhancedMonitoringRequest.Builder shardLevelMetrics(MetricsName... 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.
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 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.
MetricsName
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.