Struct aws_sdk_eks::types::builders::AddonVersionInfoBuilder
source · #[non_exhaustive]pub struct AddonVersionInfoBuilder { /* private fields */ }
Expand description
A builder for AddonVersionInfo
.
Implementations§
source§impl AddonVersionInfoBuilder
impl AddonVersionInfoBuilder
sourcepub fn addon_version(self, input: impl Into<String>) -> Self
pub fn addon_version(self, input: impl Into<String>) -> Self
The version of the add-on.
sourcepub fn set_addon_version(self, input: Option<String>) -> Self
pub fn set_addon_version(self, input: Option<String>) -> Self
The version of the add-on.
sourcepub fn get_addon_version(&self) -> &Option<String>
pub fn get_addon_version(&self) -> &Option<String>
The version of the add-on.
sourcepub fn architecture(self, input: impl Into<String>) -> Self
pub fn architecture(self, input: impl Into<String>) -> Self
Appends an item to architecture
.
To override the contents of this collection use set_architecture
.
The architectures that the version supports.
sourcepub fn set_architecture(self, input: Option<Vec<String>>) -> Self
pub fn set_architecture(self, input: Option<Vec<String>>) -> Self
The architectures that the version supports.
sourcepub fn get_architecture(&self) -> &Option<Vec<String>>
pub fn get_architecture(&self) -> &Option<Vec<String>>
The architectures that the version supports.
sourcepub fn compatibilities(self, input: Compatibility) -> Self
pub fn compatibilities(self, input: Compatibility) -> Self
Appends an item to compatibilities
.
To override the contents of this collection use set_compatibilities
.
An object representing the compatibilities of a version.
sourcepub fn set_compatibilities(self, input: Option<Vec<Compatibility>>) -> Self
pub fn set_compatibilities(self, input: Option<Vec<Compatibility>>) -> Self
An object representing the compatibilities of a version.
sourcepub fn get_compatibilities(&self) -> &Option<Vec<Compatibility>>
pub fn get_compatibilities(&self) -> &Option<Vec<Compatibility>>
An object representing the compatibilities of a version.
sourcepub fn requires_configuration(self, input: bool) -> Self
pub fn requires_configuration(self, input: bool) -> Self
Whether the add-on requires configuration.
sourcepub fn set_requires_configuration(self, input: Option<bool>) -> Self
pub fn set_requires_configuration(self, input: Option<bool>) -> Self
Whether the add-on requires configuration.
sourcepub fn get_requires_configuration(&self) -> &Option<bool>
pub fn get_requires_configuration(&self) -> &Option<bool>
Whether the add-on requires configuration.
sourcepub fn build(self) -> AddonVersionInfo
pub fn build(self) -> AddonVersionInfo
Consumes the builder and constructs a AddonVersionInfo
.
Trait Implementations§
source§impl Clone for AddonVersionInfoBuilder
impl Clone for AddonVersionInfoBuilder
source§fn clone(&self) -> AddonVersionInfoBuilder
fn clone(&self) -> AddonVersionInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AddonVersionInfoBuilder
impl Debug for AddonVersionInfoBuilder
source§impl Default for AddonVersionInfoBuilder
impl Default for AddonVersionInfoBuilder
source§fn default() -> AddonVersionInfoBuilder
fn default() -> AddonVersionInfoBuilder
source§impl PartialEq for AddonVersionInfoBuilder
impl PartialEq for AddonVersionInfoBuilder
source§fn eq(&self, other: &AddonVersionInfoBuilder) -> bool
fn eq(&self, other: &AddonVersionInfoBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AddonVersionInfoBuilder
Auto Trait Implementations§
impl Freeze for AddonVersionInfoBuilder
impl RefUnwindSafe for AddonVersionInfoBuilder
impl Send for AddonVersionInfoBuilder
impl Sync for AddonVersionInfoBuilder
impl Unpin for AddonVersionInfoBuilder
impl UnwindSafe for AddonVersionInfoBuilder
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> 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