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 ==.