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.