Struct aws_sdk_eks::types::builders::InsightSummaryBuilder
source · #[non_exhaustive]pub struct InsightSummaryBuilder { /* private fields */ }Expand description
A builder for InsightSummary.
Implementations§
source§impl InsightSummaryBuilder
impl InsightSummaryBuilder
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.
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.
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.
sourcepub fn build(self) -> InsightSummary
pub fn build(self) -> InsightSummary
Consumes the builder and constructs a InsightSummary.
Trait Implementations§
source§impl Clone for InsightSummaryBuilder
impl Clone for InsightSummaryBuilder
source§fn clone(&self) -> InsightSummaryBuilder
fn clone(&self) -> InsightSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for InsightSummaryBuilder
impl Debug for InsightSummaryBuilder
source§impl Default for InsightSummaryBuilder
impl Default for InsightSummaryBuilder
source§fn default() -> InsightSummaryBuilder
fn default() -> InsightSummaryBuilder
source§impl PartialEq for InsightSummaryBuilder
impl PartialEq for InsightSummaryBuilder
source§fn eq(&self, other: &InsightSummaryBuilder) -> bool
fn eq(&self, other: &InsightSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for InsightSummaryBuilder
Auto Trait Implementations§
impl Freeze for InsightSummaryBuilder
impl RefUnwindSafe for InsightSummaryBuilder
impl Send for InsightSummaryBuilder
impl Sync for InsightSummaryBuilder
impl Unpin for InsightSummaryBuilder
impl UnwindSafe for InsightSummaryBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more