Struct aws_sdk_xray::types::builders::InsightsConfigurationBuilder
source · #[non_exhaustive]pub struct InsightsConfigurationBuilder { /* private fields */ }
Expand description
A builder for InsightsConfiguration
.
Implementations§
source§impl InsightsConfigurationBuilder
impl InsightsConfigurationBuilder
sourcepub fn insights_enabled(self, input: bool) -> Self
pub fn insights_enabled(self, input: bool) -> Self
Set the InsightsEnabled value to true to enable insights or false to disable insights.
sourcepub fn set_insights_enabled(self, input: Option<bool>) -> Self
pub fn set_insights_enabled(self, input: Option<bool>) -> Self
Set the InsightsEnabled value to true to enable insights or false to disable insights.
sourcepub fn get_insights_enabled(&self) -> &Option<bool>
pub fn get_insights_enabled(&self) -> &Option<bool>
Set the InsightsEnabled value to true to enable insights or false to disable insights.
sourcepub fn notifications_enabled(self, input: bool) -> Self
pub fn notifications_enabled(self, input: bool) -> Self
Set the NotificationsEnabled value to true to enable insights notifications. Notifications can only be enabled on a group with InsightsEnabled set to true.
sourcepub fn set_notifications_enabled(self, input: Option<bool>) -> Self
pub fn set_notifications_enabled(self, input: Option<bool>) -> Self
Set the NotificationsEnabled value to true to enable insights notifications. Notifications can only be enabled on a group with InsightsEnabled set to true.
sourcepub fn get_notifications_enabled(&self) -> &Option<bool>
pub fn get_notifications_enabled(&self) -> &Option<bool>
Set the NotificationsEnabled value to true to enable insights notifications. Notifications can only be enabled on a group with InsightsEnabled set to true.
sourcepub fn build(self) -> InsightsConfiguration
pub fn build(self) -> InsightsConfiguration
Consumes the builder and constructs a InsightsConfiguration
.
Trait Implementations§
source§impl Clone for InsightsConfigurationBuilder
impl Clone for InsightsConfigurationBuilder
source§fn clone(&self) -> InsightsConfigurationBuilder
fn clone(&self) -> InsightsConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InsightsConfigurationBuilder
impl Debug for InsightsConfigurationBuilder
source§impl Default for InsightsConfigurationBuilder
impl Default for InsightsConfigurationBuilder
source§fn default() -> InsightsConfigurationBuilder
fn default() -> InsightsConfigurationBuilder
source§impl PartialEq for InsightsConfigurationBuilder
impl PartialEq for InsightsConfigurationBuilder
source§fn eq(&self, other: &InsightsConfigurationBuilder) -> bool
fn eq(&self, other: &InsightsConfigurationBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for InsightsConfigurationBuilder
Auto Trait Implementations§
impl Freeze for InsightsConfigurationBuilder
impl RefUnwindSafe for InsightsConfigurationBuilder
impl Send for InsightsConfigurationBuilder
impl Sync for InsightsConfigurationBuilder
impl Unpin for InsightsConfigurationBuilder
impl UnwindSafe for InsightsConfigurationBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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