Struct aws_sdk_eks::types::DeprecationDetail
source · #[non_exhaustive]pub struct DeprecationDetail {
pub usage: Option<String>,
pub replaced_with: Option<String>,
pub stop_serving_version: Option<String>,
pub start_serving_replacement_version: Option<String>,
pub client_stats: Option<Vec<ClientStat>>,
}Expand description
The summary information about deprecated resource usage for an insight check in the UPGRADE_READINESS category.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.usage: Option<String>The deprecated version of the resource.
replaced_with: Option<String>The newer version of the resource to migrate to if applicable.
stop_serving_version: Option<String>The version of the software where the deprecated resource version will stop being served.
start_serving_replacement_version: Option<String>The version of the software where the newer resource version became available to migrate to if applicable.
client_stats: Option<Vec<ClientStat>>Details about Kubernetes clients using the deprecated resources.
Implementations§
source§impl DeprecationDetail
impl DeprecationDetail
sourcepub fn replaced_with(&self) -> Option<&str>
pub fn replaced_with(&self) -> Option<&str>
The newer version of the resource to migrate to if applicable.
sourcepub fn stop_serving_version(&self) -> Option<&str>
pub fn stop_serving_version(&self) -> Option<&str>
The version of the software where the deprecated resource version will stop being served.
sourcepub fn start_serving_replacement_version(&self) -> Option<&str>
pub fn start_serving_replacement_version(&self) -> Option<&str>
The version of the software where the newer resource version became available to migrate to if applicable.
sourcepub fn client_stats(&self) -> &[ClientStat]
pub fn client_stats(&self) -> &[ClientStat]
Details about Kubernetes clients using the deprecated resources.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .client_stats.is_none().
source§impl DeprecationDetail
impl DeprecationDetail
sourcepub fn builder() -> DeprecationDetailBuilder
pub fn builder() -> DeprecationDetailBuilder
Creates a new builder-style object to manufacture DeprecationDetail.
Trait Implementations§
source§impl Clone for DeprecationDetail
impl Clone for DeprecationDetail
source§fn clone(&self) -> DeprecationDetail
fn clone(&self) -> DeprecationDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DeprecationDetail
impl Debug for DeprecationDetail
source§impl PartialEq for DeprecationDetail
impl PartialEq for DeprecationDetail
source§fn eq(&self, other: &DeprecationDetail) -> bool
fn eq(&self, other: &DeprecationDetail) -> bool
self and other values to be equal, and is used
by ==.