Struct aws_sdk_eks::types::builders::InsightBuilder
source · #[non_exhaustive]pub struct InsightBuilder { /* private fields */ }Expand description
A builder for Insight.
Implementations§
source§impl InsightBuilder
impl InsightBuilder
sourcepub fn set_category(self, input: Option<Category>) -> Self
pub fn set_category(self, input: Option<Category>) -> Self
The category of the insight.
sourcepub fn get_category(&self) -> &Option<Category>
pub fn get_category(&self) -> &Option<Category>
The category of the insight.
sourcepub fn kubernetes_version(self, input: impl Into<String>) -> Self
pub fn kubernetes_version(self, input: impl Into<String>) -> Self
The Kubernetes minor version associated with an insight if applicable.
sourcepub fn set_kubernetes_version(self, input: Option<String>) -> Self
pub fn set_kubernetes_version(self, input: Option<String>) -> Self
The Kubernetes minor version associated with an insight if applicable.
sourcepub fn get_kubernetes_version(&self) -> &Option<String>
pub fn get_kubernetes_version(&self) -> &Option<String>
The Kubernetes minor version associated with an insight if applicable.
sourcepub fn last_refresh_time(self, input: DateTime) -> Self
pub fn last_refresh_time(self, input: DateTime) -> Self
The time Amazon EKS last successfully completed a refresh of this insight check on the cluster.
sourcepub fn set_last_refresh_time(self, input: Option<DateTime>) -> Self
pub fn set_last_refresh_time(self, input: Option<DateTime>) -> Self
The time Amazon EKS last successfully completed a refresh of this insight check on the cluster.
sourcepub fn get_last_refresh_time(&self) -> &Option<DateTime>
pub fn get_last_refresh_time(&self) -> &Option<DateTime>
The time Amazon EKS last successfully completed a refresh of this insight check on the cluster.
sourcepub fn last_transition_time(self, input: DateTime) -> Self
pub fn last_transition_time(self, input: DateTime) -> Self
The time the status of the insight last changed.
sourcepub fn set_last_transition_time(self, input: Option<DateTime>) -> Self
pub fn set_last_transition_time(self, input: Option<DateTime>) -> Self
The time the status of the insight last changed.
sourcepub fn get_last_transition_time(&self) -> &Option<DateTime>
pub fn get_last_transition_time(&self) -> &Option<DateTime>
The time the status of the insight last changed.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the insight which includes alert criteria, remediation recommendation, and additional resources (contains Markdown).
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the insight which includes alert criteria, remediation recommendation, and additional resources (contains Markdown).
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the insight which includes alert criteria, remediation recommendation, and additional resources (contains Markdown).
sourcepub fn insight_status(self, input: InsightStatus) -> Self
pub fn insight_status(self, input: InsightStatus) -> Self
An object containing more detail on the status of the insight resource.
sourcepub fn set_insight_status(self, input: Option<InsightStatus>) -> Self
pub fn set_insight_status(self, input: Option<InsightStatus>) -> Self
An object containing more detail on the status of the insight resource.
sourcepub fn get_insight_status(&self) -> &Option<InsightStatus>
pub fn get_insight_status(&self) -> &Option<InsightStatus>
An object containing more detail on the status of the insight resource.
sourcepub fn recommendation(self, input: impl Into<String>) -> Self
pub fn recommendation(self, input: impl Into<String>) -> Self
A summary of how to remediate the finding of this insight if applicable.
sourcepub fn set_recommendation(self, input: Option<String>) -> Self
pub fn set_recommendation(self, input: Option<String>) -> Self
A summary of how to remediate the finding of this insight if applicable.
sourcepub fn get_recommendation(&self) -> &Option<String>
pub fn get_recommendation(&self) -> &Option<String>
A summary of how to remediate the finding of this insight if applicable.
sourcepub fn additional_info(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn additional_info(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to additional_info.
To override the contents of this collection use set_additional_info.
Links to sources that provide additional context on the insight.
sourcepub fn set_additional_info(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_additional_info(self, input: Option<HashMap<String, String>>) -> Self
Links to sources that provide additional context on the insight.
sourcepub fn get_additional_info(&self) -> &Option<HashMap<String, String>>
pub fn get_additional_info(&self) -> &Option<HashMap<String, String>>
Links to sources that provide additional context on the insight.
sourcepub fn resources(self, input: InsightResourceDetail) -> Self
pub fn resources(self, input: InsightResourceDetail) -> Self
Appends an item to resources.
To override the contents of this collection use set_resources.
The details about each resource listed in the insight check result.
sourcepub fn set_resources(self, input: Option<Vec<InsightResourceDetail>>) -> Self
pub fn set_resources(self, input: Option<Vec<InsightResourceDetail>>) -> Self
The details about each resource listed in the insight check result.
sourcepub fn get_resources(&self) -> &Option<Vec<InsightResourceDetail>>
pub fn get_resources(&self) -> &Option<Vec<InsightResourceDetail>>
The details about each resource listed in the insight check result.
sourcepub fn category_specific_summary(
self,
input: InsightCategorySpecificSummary
) -> Self
pub fn category_specific_summary( self, input: InsightCategorySpecificSummary ) -> Self
Summary information that relates to the category of the insight. Currently only returned with certain insights having category UPGRADE_READINESS.
sourcepub fn set_category_specific_summary(
self,
input: Option<InsightCategorySpecificSummary>
) -> Self
pub fn set_category_specific_summary( self, input: Option<InsightCategorySpecificSummary> ) -> Self
Summary information that relates to the category of the insight. Currently only returned with certain insights having category UPGRADE_READINESS.
sourcepub fn get_category_specific_summary(
&self
) -> &Option<InsightCategorySpecificSummary>
pub fn get_category_specific_summary( &self ) -> &Option<InsightCategorySpecificSummary>
Summary information that relates to the category of the insight. Currently only returned with certain insights having category UPGRADE_READINESS.
Trait Implementations§
source§impl Clone for InsightBuilder
impl Clone for InsightBuilder
source§fn clone(&self) -> InsightBuilder
fn clone(&self) -> InsightBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for InsightBuilder
impl Debug for InsightBuilder
source§impl Default for InsightBuilder
impl Default for InsightBuilder
source§fn default() -> InsightBuilder
fn default() -> InsightBuilder
source§impl PartialEq for InsightBuilder
impl PartialEq for InsightBuilder
source§fn eq(&self, other: &InsightBuilder) -> bool
fn eq(&self, other: &InsightBuilder) -> bool
self and other values to be equal, and is used
by ==.