Struct aws_sdk_kinesis::operation::enable_enhanced_monitoring::builders::EnableEnhancedMonitoringOutputBuilder
source · #[non_exhaustive]pub struct EnableEnhancedMonitoringOutputBuilder { /* private fields */ }Expand description
A builder for EnableEnhancedMonitoringOutput.
Implementations§
source§impl EnableEnhancedMonitoringOutputBuilder
impl EnableEnhancedMonitoringOutputBuilder
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 get_stream_name(&self) -> &Option<String>
pub fn get_stream_name(&self) -> &Option<String>
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 get_current_shard_level_metrics(&self) -> &Option<Vec<MetricsName>>
pub fn get_current_shard_level_metrics(&self) -> &Option<Vec<MetricsName>>
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 get_desired_shard_level_metrics(&self) -> &Option<Vec<MetricsName>>
pub fn get_desired_shard_level_metrics(&self) -> &Option<Vec<MetricsName>>
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 get_stream_arn(&self) -> &Option<String>
pub fn get_stream_arn(&self) -> &Option<String>
The ARN of the stream.
sourcepub fn build(self) -> EnableEnhancedMonitoringOutput
pub fn build(self) -> EnableEnhancedMonitoringOutput
Consumes the builder and constructs a EnableEnhancedMonitoringOutput.
Trait Implementations§
source§impl Clone for EnableEnhancedMonitoringOutputBuilder
impl Clone for EnableEnhancedMonitoringOutputBuilder
source§fn clone(&self) -> EnableEnhancedMonitoringOutputBuilder
fn clone(&self) -> EnableEnhancedMonitoringOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for EnableEnhancedMonitoringOutputBuilder
impl Default for EnableEnhancedMonitoringOutputBuilder
source§fn default() -> EnableEnhancedMonitoringOutputBuilder
fn default() -> EnableEnhancedMonitoringOutputBuilder
source§impl PartialEq for EnableEnhancedMonitoringOutputBuilder
impl PartialEq for EnableEnhancedMonitoringOutputBuilder
source§fn eq(&self, other: &EnableEnhancedMonitoringOutputBuilder) -> bool
fn eq(&self, other: &EnableEnhancedMonitoringOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.