Struct aws_sdk_devopsguru::model::recommendation::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for Recommendation
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the problem.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the problem.
sourcepub fn link(self, input: impl Into<String>) -> Self
pub fn link(self, input: impl Into<String>) -> Self
A hyperlink to information to help you address the problem.
sourcepub fn set_link(self, input: Option<String>) -> Self
pub fn set_link(self, input: Option<String>) -> Self
A hyperlink to information to help you address the problem.
sourcepub fn reason(self, input: impl Into<String>) -> Self
pub fn reason(self, input: impl Into<String>) -> Self
The reason DevOps Guru flagged the anomalous behavior as a problem.
sourcepub fn set_reason(self, input: Option<String>) -> Self
pub fn set_reason(self, input: Option<String>) -> Self
The reason DevOps Guru flagged the anomalous behavior as a problem.
Appends an item to related_events
.
To override the contents of this collection use set_related_events
.
Events that are related to the problem. Use these events to learn more about what's happening and to help address the issue.
Events that are related to the problem. Use these events to learn more about what's happening and to help address the issue.
Appends an item to related_anomalies
.
To override the contents of this collection use set_related_anomalies
.
Anomalies that are related to the problem. Use these Anomalies to learn more about what's happening and to help address the issue.
Anomalies that are related to the problem. Use these Anomalies to learn more about what's happening and to help address the issue.
sourcepub fn category(self, input: impl Into<String>) -> Self
pub fn category(self, input: impl Into<String>) -> Self
The category type of the recommendation.
sourcepub fn set_category(self, input: Option<String>) -> Self
pub fn set_category(self, input: Option<String>) -> Self
The category type of the recommendation.
sourcepub fn build(self) -> Recommendation
pub fn build(self) -> Recommendation
Consumes the builder and constructs a Recommendation
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more