public static interface EnableEnhancedMonitoringRequest.Builder extends KinesisRequest.Builder, CopyableBuilder<EnableEnhancedMonitoringRequest.Builder,EnableEnhancedMonitoringRequest>
Modifier and Type | Method and Description |
---|---|
EnableEnhancedMonitoringRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
EnableEnhancedMonitoringRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
EnableEnhancedMonitoringRequest.Builder |
shardLevelMetrics(Collection<String> shardLevelMetrics)
List of shard-level metrics to enable.
|
EnableEnhancedMonitoringRequest.Builder |
shardLevelMetrics(String... shardLevelMetrics)
List of shard-level metrics to enable.
|
EnableEnhancedMonitoringRequest.Builder |
streamName(String streamName)
The name of the stream for which to enable enhanced monitoring.
|
build
requestOverrideConfig
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.
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.
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.
EnableEnhancedMonitoringRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.EnableEnhancedMonitoringRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.