#[non_exhaustive]pub struct AwsEc2LaunchTemplateDataMonitoringDetails {
pub enabled: Option<bool>,
}
Expand description
The monitoring for an Amazon EC2 instance.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.enabled: Option<bool>
Enables detailed monitoring when true
is specified. Otherwise, basic monitoring is enabled. For more information about detailed monitoring, see Enable or turn off detailed monitoring for your instances in the Amazon EC2 User Guide.
Implementations§
source§impl AwsEc2LaunchTemplateDataMonitoringDetails
impl AwsEc2LaunchTemplateDataMonitoringDetails
sourcepub fn enabled(&self) -> Option<bool>
pub fn enabled(&self) -> Option<bool>
Enables detailed monitoring when true
is specified. Otherwise, basic monitoring is enabled. For more information about detailed monitoring, see Enable or turn off detailed monitoring for your instances in the Amazon EC2 User Guide.
source§impl AwsEc2LaunchTemplateDataMonitoringDetails
impl AwsEc2LaunchTemplateDataMonitoringDetails
sourcepub fn builder() -> AwsEc2LaunchTemplateDataMonitoringDetailsBuilder
pub fn builder() -> AwsEc2LaunchTemplateDataMonitoringDetailsBuilder
Creates a new builder-style object to manufacture AwsEc2LaunchTemplateDataMonitoringDetails
.
Trait Implementations§
source§impl Clone for AwsEc2LaunchTemplateDataMonitoringDetails
impl Clone for AwsEc2LaunchTemplateDataMonitoringDetails
source§fn clone(&self) -> AwsEc2LaunchTemplateDataMonitoringDetails
fn clone(&self) -> AwsEc2LaunchTemplateDataMonitoringDetails
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq for AwsEc2LaunchTemplateDataMonitoringDetails
impl PartialEq for AwsEc2LaunchTemplateDataMonitoringDetails
source§fn eq(&self, other: &AwsEc2LaunchTemplateDataMonitoringDetails) -> bool
fn eq(&self, other: &AwsEc2LaunchTemplateDataMonitoringDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsEc2LaunchTemplateDataMonitoringDetails
Auto Trait Implementations§
impl RefUnwindSafe for AwsEc2LaunchTemplateDataMonitoringDetails
impl Send for AwsEc2LaunchTemplateDataMonitoringDetails
impl Sync for AwsEc2LaunchTemplateDataMonitoringDetails
impl Unpin for AwsEc2LaunchTemplateDataMonitoringDetails
impl UnwindSafe for AwsEc2LaunchTemplateDataMonitoringDetails
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.