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 get_cluster_version(&self) -> &Option<String>
pub fn get_cluster_version(&self) -> &Option<String>
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 get_platform_versions(&self) -> &Option<Vec<String>>
pub fn get_platform_versions(&self) -> &Option<Vec<String>>
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 get_default_version(&self) -> &Option<bool>
pub fn get_default_version(&self) -> &Option<bool>
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 for CompatibilityBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for CompatibilityBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CompatibilityBuilder
impl Send for CompatibilityBuilder
impl Sync for CompatibilityBuilder
impl Unpin for CompatibilityBuilder
impl UnwindSafe for CompatibilityBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.