Struct aws_sdk_eks::types::builders::CompatibilityBuilder
source · #[non_exhaustive]pub struct CompatibilityBuilder { /* private fields */ }Expand description
A builder for Compatibility.
Implementations§
source§impl CompatibilityBuilder
impl CompatibilityBuilder
sourcepub fn cluster_version(self, input: impl Into<String>) -> Self
pub fn cluster_version(self, input: impl Into<String>) -> Self
The supported Kubernetes version of the cluster.
sourcepub fn set_cluster_version(self, input: Option<String>) -> Self
pub fn set_cluster_version(self, input: Option<String>) -> Self
The supported Kubernetes version of the cluster.
sourcepub fn platform_versions(self, input: impl Into<String>) -> Self
pub fn platform_versions(self, input: impl Into<String>) -> Self
Appends an item to platform_versions.
To override the contents of this collection use set_platform_versions.
The supported compute platform.
sourcepub fn set_platform_versions(self, input: Option<Vec<String>>) -> Self
pub fn set_platform_versions(self, input: Option<Vec<String>>) -> Self
The supported compute platform.
sourcepub fn default_version(self, input: bool) -> Self
pub fn default_version(self, input: bool) -> Self
The supported default version.
sourcepub fn set_default_version(self, input: Option<bool>) -> Self
pub fn set_default_version(self, input: Option<bool>) -> Self
The supported default version.
sourcepub fn build(self) -> Compatibility
pub fn build(self) -> Compatibility
Consumes the builder and constructs a Compatibility.
Trait Implementations§
source§impl Clone for CompatibilityBuilder
impl Clone for CompatibilityBuilder
source§fn clone(&self) -> CompatibilityBuilder
fn clone(&self) -> CompatibilityBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CompatibilityBuilder
impl Debug for CompatibilityBuilder
source§impl Default for CompatibilityBuilder
impl Default for CompatibilityBuilder
source§fn default() -> CompatibilityBuilder
fn default() -> CompatibilityBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CompatibilityBuilder> for CompatibilityBuilder
impl PartialEq<CompatibilityBuilder> for CompatibilityBuilder
source§fn eq(&self, other: &CompatibilityBuilder) -> bool
fn eq(&self, other: &CompatibilityBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.