pub struct Builder { /* private fields */ }
Expand description
A builder for TrustedAdvisorCheckSummary
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn check_id(self, input: impl Into<String>) -> Self
pub fn check_id(self, input: impl Into<String>) -> Self
The unique identifier for the Trusted Advisor check.
sourcepub fn set_check_id(self, input: Option<String>) -> Self
pub fn set_check_id(self, input: Option<String>) -> Self
The unique identifier for the Trusted Advisor check.
sourcepub fn timestamp(self, input: impl Into<String>) -> Self
pub fn timestamp(self, input: impl Into<String>) -> Self
The time of the last refresh of the check.
sourcepub fn set_timestamp(self, input: Option<String>) -> Self
pub fn set_timestamp(self, input: Option<String>) -> Self
The time of the last refresh of the check.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".
sourcepub fn has_flagged_resources(self, input: bool) -> Self
pub fn has_flagged_resources(self, input: bool) -> Self
Specifies whether the Trusted Advisor check has flagged resources.
sourcepub fn set_has_flagged_resources(self, input: Option<bool>) -> Self
pub fn set_has_flagged_resources(self, input: Option<bool>) -> Self
Specifies whether the Trusted Advisor check has flagged resources.
sourcepub fn resources_summary(self, input: TrustedAdvisorResourcesSummary) -> Self
pub fn resources_summary(self, input: TrustedAdvisorResourcesSummary) -> Self
Details about Amazon Web Services resources that were analyzed in a call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries
.
sourcepub fn set_resources_summary(
self,
input: Option<TrustedAdvisorResourcesSummary>
) -> Self
pub fn set_resources_summary(
self,
input: Option<TrustedAdvisorResourcesSummary>
) -> Self
Details about Amazon Web Services resources that were analyzed in a call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries
.
sourcepub fn category_specific_summary(
self,
input: TrustedAdvisorCategorySpecificSummary
) -> Self
pub fn category_specific_summary(
self,
input: TrustedAdvisorCategorySpecificSummary
) -> Self
Summary information that relates to the category of the check. Cost Optimizing is the only category that is currently supported.
sourcepub fn set_category_specific_summary(
self,
input: Option<TrustedAdvisorCategorySpecificSummary>
) -> Self
pub fn set_category_specific_summary(
self,
input: Option<TrustedAdvisorCategorySpecificSummary>
) -> Self
Summary information that relates to the category of the check. Cost Optimizing is the only category that is currently supported.
sourcepub fn build(self) -> TrustedAdvisorCheckSummary
pub fn build(self) -> TrustedAdvisorCheckSummary
Consumes the builder and constructs a TrustedAdvisorCheckSummary
.
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