pub struct Builder { /* private fields */ }
Expand description
A builder for EnableEnhancedMonitoringOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn stream_name(self, input: impl Into<String>) -> Self
pub fn stream_name(self, input: impl Into<String>) -> Self
The name of the Kinesis data stream.
sourcepub fn set_stream_name(self, input: Option<String>) -> Self
pub fn set_stream_name(self, input: Option<String>) -> Self
The name of the Kinesis data stream.
sourcepub fn current_shard_level_metrics(self, input: MetricsName) -> Self
pub fn current_shard_level_metrics(self, input: MetricsName) -> Self
Appends an item to current_shard_level_metrics
.
To override the contents of this collection use set_current_shard_level_metrics
.
Represents the current state of the metrics that are in the enhanced state before the operation.
sourcepub fn set_current_shard_level_metrics(
self,
input: Option<Vec<MetricsName>>
) -> Self
pub fn set_current_shard_level_metrics(
self,
input: Option<Vec<MetricsName>>
) -> Self
Represents the current state of the metrics that are in the enhanced state before the operation.
sourcepub fn desired_shard_level_metrics(self, input: MetricsName) -> Self
pub fn desired_shard_level_metrics(self, input: MetricsName) -> Self
Appends an item to desired_shard_level_metrics
.
To override the contents of this collection use set_desired_shard_level_metrics
.
Represents the list of all the metrics that would be in the enhanced state after the operation.
sourcepub fn set_desired_shard_level_metrics(
self,
input: Option<Vec<MetricsName>>
) -> Self
pub fn set_desired_shard_level_metrics(
self,
input: Option<Vec<MetricsName>>
) -> Self
Represents the list of all the metrics that would be in the enhanced state after the operation.
sourcepub fn stream_arn(self, input: impl Into<String>) -> Self
pub fn stream_arn(self, input: impl Into<String>) -> Self
The ARN of the stream.
sourcepub fn set_stream_arn(self, input: Option<String>) -> Self
pub fn set_stream_arn(self, input: Option<String>) -> Self
The ARN of the stream.
sourcepub fn build(self) -> EnableEnhancedMonitoringOutput
pub fn build(self) -> EnableEnhancedMonitoringOutput
Consumes the builder and constructs a EnableEnhancedMonitoringOutput
.