pub struct Builder { /* private fields */ }Expand description
A builder for TrustedAdvisorResourceDetail.
Implementations§
source§impl Builder
impl Builder
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The status code for the resource identified in the Trusted Advisor check.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status code for the resource identified in the Trusted Advisor check.
sourcepub fn region(self, input: impl Into<String>) -> Self
pub fn region(self, input: impl Into<String>) -> Self
The Amazon Web Services Region in which the identified resource is located.
sourcepub fn set_region(self, input: Option<String>) -> Self
pub fn set_region(self, input: Option<String>) -> Self
The Amazon Web Services Region in which the identified resource is located.
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The unique identifier for the identified resource.
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The unique identifier for the identified resource.
sourcepub fn is_suppressed(self, input: bool) -> Self
pub fn is_suppressed(self, input: bool) -> Self
Specifies whether the Amazon Web Services resource was ignored by Trusted Advisor because it was marked as suppressed by the user.
sourcepub fn set_is_suppressed(self, input: Option<bool>) -> Self
pub fn set_is_suppressed(self, input: Option<bool>) -> Self
Specifies whether the Amazon Web Services resource was ignored by Trusted Advisor because it was marked as suppressed by the user.
sourcepub fn metadata(self, input: impl Into<String>) -> Self
pub fn metadata(self, input: impl Into<String>) -> Self
Appends an item to metadata.
To override the contents of this collection use set_metadata.
Additional information about the identified resource. The exact metadata and its order can be obtained by inspecting the TrustedAdvisorCheckDescription object returned by the call to DescribeTrustedAdvisorChecks. Metadata contains all the data that is shown in the Excel download, even in those cases where the UI shows just summary data.
sourcepub fn set_metadata(self, input: Option<Vec<String>>) -> Self
pub fn set_metadata(self, input: Option<Vec<String>>) -> Self
Additional information about the identified resource. The exact metadata and its order can be obtained by inspecting the TrustedAdvisorCheckDescription object returned by the call to DescribeTrustedAdvisorChecks. Metadata contains all the data that is shown in the Excel download, even in those cases where the UI shows just summary data.
sourcepub fn build(self) -> TrustedAdvisorResourceDetail
pub fn build(self) -> TrustedAdvisorResourceDetail
Consumes the builder and constructs a TrustedAdvisorResourceDetail.