Struct aws_sdk_kinesis::model::enhanced_metrics::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for EnhancedMetrics
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn shard_level_metrics(self, input: MetricsName) -> Self
pub fn shard_level_metrics(self, input: MetricsName) -> Self
Appends an item to shard_level_metrics
.
To override the contents of this collection use set_shard_level_metrics
.
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.
sourcepub fn set_shard_level_metrics(self, input: Option<Vec<MetricsName>>) -> Self
pub fn set_shard_level_metrics(self, input: Option<Vec<MetricsName>>) -> Self
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.
sourcepub fn build(self) -> EnhancedMetrics
pub fn build(self) -> EnhancedMetrics
Consumes the builder and constructs a EnhancedMetrics
.