Struct aws_sdk_support::model::trusted_advisor_check_result::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for TrustedAdvisorCheckResult.
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 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 flagged_resources(self, input: TrustedAdvisorResourceDetail) -> Self
pub fn flagged_resources(self, input: TrustedAdvisorResourceDetail) -> Self
Appends an item to flagged_resources.
To override the contents of this collection use set_flagged_resources.
The details about each resource listed in the check result.
sourcepub fn set_flagged_resources(
self,
input: Option<Vec<TrustedAdvisorResourceDetail>>
) -> Self
pub fn set_flagged_resources(
self,
input: Option<Vec<TrustedAdvisorResourceDetail>>
) -> Self
The details about each resource listed in the check result.
sourcepub fn build(self) -> TrustedAdvisorCheckResult
pub fn build(self) -> TrustedAdvisorCheckResult
Consumes the builder and constructs a TrustedAdvisorCheckResult.