Struct aws_sdk_kinesis::operation::enable_enhanced_monitoring::builders::EnableEnhancedMonitoringInputBuilder
source · #[non_exhaustive]pub struct EnableEnhancedMonitoringInputBuilder { /* private fields */ }
Expand description
A builder for EnableEnhancedMonitoringInput
.
Implementations§
source§impl EnableEnhancedMonitoringInputBuilder
impl EnableEnhancedMonitoringInputBuilder
sourcepub fn stream_name(self, input: impl Into<String>) -> Self
pub fn stream_name(self, input: impl Into<String>) -> Self
The name of the stream for which to enable 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 stream for which to enable enhanced monitoring.
sourcepub fn get_stream_name(&self) -> &Option<String>
pub fn get_stream_name(&self) -> &Option<String>
The name of the stream for which to enable 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 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 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 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 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 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 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<EnableEnhancedMonitoringInput, BuildError>
pub fn build(self) -> Result<EnableEnhancedMonitoringInput, BuildError>
Consumes the builder and constructs a EnableEnhancedMonitoringInput
.
source§impl EnableEnhancedMonitoringInputBuilder
impl EnableEnhancedMonitoringInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<EnableEnhancedMonitoringOutput, SdkError<EnableEnhancedMonitoringError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<EnableEnhancedMonitoringOutput, SdkError<EnableEnhancedMonitoringError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for EnableEnhancedMonitoringInputBuilder
impl Clone for EnableEnhancedMonitoringInputBuilder
source§fn clone(&self) -> EnableEnhancedMonitoringInputBuilder
fn clone(&self) -> EnableEnhancedMonitoringInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for EnableEnhancedMonitoringInputBuilder
impl Default for EnableEnhancedMonitoringInputBuilder
source§fn default() -> EnableEnhancedMonitoringInputBuilder
fn default() -> EnableEnhancedMonitoringInputBuilder
source§impl PartialEq for EnableEnhancedMonitoringInputBuilder
impl PartialEq for EnableEnhancedMonitoringInputBuilder
source§fn eq(&self, other: &EnableEnhancedMonitoringInputBuilder) -> bool
fn eq(&self, other: &EnableEnhancedMonitoringInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EnableEnhancedMonitoringInputBuilder
Auto Trait Implementations§
impl Freeze for EnableEnhancedMonitoringInputBuilder
impl RefUnwindSafe for EnableEnhancedMonitoringInputBuilder
impl Send for EnableEnhancedMonitoringInputBuilder
impl Sync for EnableEnhancedMonitoringInputBuilder
impl Unpin for EnableEnhancedMonitoringInputBuilder
impl UnwindSafe for EnableEnhancedMonitoringInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more