Struct aws_sdk_kinesis::operation::disable_enhanced_monitoring::builders::DisableEnhancedMonitoringInputBuilder
source · #[non_exhaustive]pub struct DisableEnhancedMonitoringInputBuilder { /* private fields */ }Expand description
A builder for DisableEnhancedMonitoringInput.
Implementations§
source§impl DisableEnhancedMonitoringInputBuilder
impl DisableEnhancedMonitoringInputBuilder
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 for which to disable enhanced monitoring.
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 for which to disable enhanced monitoring.
sourcepub fn get_stream_name(&self) -> &Option<String>
pub fn get_stream_name(&self) -> &Option<String>
The name of the Kinesis data stream for which to disable enhanced monitoring.
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 to disable.
The following are the valid shard-level metrics. The value "ALL" disables 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 to disable.
The following are the valid shard-level metrics. The value "ALL" disables 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 get_shard_level_metrics(&self) -> &Option<Vec<MetricsName>>
pub fn get_shard_level_metrics(&self) -> &Option<Vec<MetricsName>>
List of shard-level metrics to disable.
The following are the valid shard-level metrics. The value "ALL" disables 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 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) -> Result<DisableEnhancedMonitoringInput, BuildError>
pub fn build(self) -> Result<DisableEnhancedMonitoringInput, BuildError>
Consumes the builder and constructs a DisableEnhancedMonitoringInput.
source§impl DisableEnhancedMonitoringInputBuilder
impl DisableEnhancedMonitoringInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DisableEnhancedMonitoringOutput, SdkError<DisableEnhancedMonitoringError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DisableEnhancedMonitoringOutput, SdkError<DisableEnhancedMonitoringError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DisableEnhancedMonitoringInputBuilder
impl Clone for DisableEnhancedMonitoringInputBuilder
source§fn clone(&self) -> DisableEnhancedMonitoringInputBuilder
fn clone(&self) -> DisableEnhancedMonitoringInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DisableEnhancedMonitoringInputBuilder
impl Default for DisableEnhancedMonitoringInputBuilder
source§fn default() -> DisableEnhancedMonitoringInputBuilder
fn default() -> DisableEnhancedMonitoringInputBuilder
source§impl PartialEq for DisableEnhancedMonitoringInputBuilder
impl PartialEq for DisableEnhancedMonitoringInputBuilder
source§fn eq(&self, other: &DisableEnhancedMonitoringInputBuilder) -> bool
fn eq(&self, other: &DisableEnhancedMonitoringInputBuilder) -> bool
self and other values to be equal, and is used
by ==.