Struct aws_sdk_eks::types::builders::AddonBuilder

source ·
#[non_exhaustive]
pub struct AddonBuilder { /* private fields */ }
Expand description

A builder for Addon.

Implementations§

source§

impl AddonBuilder

source

pub fn addon_name(self, input: impl Into<String>) -> Self

The name of the add-on.

source

pub fn set_addon_name(self, input: Option<String>) -> Self

The name of the add-on.

source

pub fn get_addon_name(&self) -> &Option<String>

The name of the add-on.

source

pub fn cluster_name(self, input: impl Into<String>) -> Self

The name of your cluster.

source

pub fn set_cluster_name(self, input: Option<String>) -> Self

The name of your cluster.

source

pub fn get_cluster_name(&self) -> &Option<String>

The name of your cluster.

source

pub fn status(self, input: AddonStatus) -> Self

The status of the add-on.

source

pub fn set_status(self, input: Option<AddonStatus>) -> Self

The status of the add-on.

source

pub fn get_status(&self) -> &Option<AddonStatus>

The status of the add-on.

source

pub fn addon_version(self, input: impl Into<String>) -> Self

The version of the add-on.

source

pub fn set_addon_version(self, input: Option<String>) -> Self

The version of the add-on.

source

pub fn get_addon_version(&self) -> &Option<String>

The version of the add-on.

source

pub fn health(self, input: AddonHealth) -> Self

An object that represents the health of the add-on.

source

pub fn set_health(self, input: Option<AddonHealth>) -> Self

An object that represents the health of the add-on.

source

pub fn get_health(&self) -> &Option<AddonHealth>

An object that represents the health of the add-on.

source

pub fn addon_arn(self, input: impl Into<String>) -> Self

The Amazon Resource Name (ARN) of the add-on.

source

pub fn set_addon_arn(self, input: Option<String>) -> Self

The Amazon Resource Name (ARN) of the add-on.

source

pub fn get_addon_arn(&self) -> &Option<String>

The Amazon Resource Name (ARN) of the add-on.

source

pub fn created_at(self, input: DateTime) -> Self

The Unix epoch timestamp at object creation.

source

pub fn set_created_at(self, input: Option<DateTime>) -> Self

The Unix epoch timestamp at object creation.

source

pub fn get_created_at(&self) -> &Option<DateTime>

The Unix epoch timestamp at object creation.

source

pub fn modified_at(self, input: DateTime) -> Self

The Unix epoch timestamp for the last modification to the object.

source

pub fn set_modified_at(self, input: Option<DateTime>) -> Self

The Unix epoch timestamp for the last modification to the object.

source

pub fn get_modified_at(&self) -> &Option<DateTime>

The Unix epoch timestamp for the last modification to the object.

source

pub fn service_account_role_arn(self, input: impl Into<String>) -> Self

The Amazon Resource Name (ARN) of the IAM role that's bound to the Kubernetes ServiceAccount object that the add-on uses.

source

pub fn set_service_account_role_arn(self, input: Option<String>) -> Self

The Amazon Resource Name (ARN) of the IAM role that's bound to the Kubernetes ServiceAccount object that the add-on uses.

source

pub fn get_service_account_role_arn(&self) -> &Option<String>

The Amazon Resource Name (ARN) of the IAM role that's bound to the Kubernetes ServiceAccount object that the add-on uses.

source

pub fn tags(self, k: impl Into<String>, v: impl Into<String>) -> Self

Adds a key-value pair to tags.

To override the contents of this collection use set_tags.

Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.

source

pub fn set_tags(self, input: Option<HashMap<String, String>>) -> Self

Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.

source

pub fn get_tags(&self) -> &Option<HashMap<String, String>>

Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.

source

pub fn publisher(self, input: impl Into<String>) -> Self

The publisher of the add-on.

source

pub fn set_publisher(self, input: Option<String>) -> Self

The publisher of the add-on.

source

pub fn get_publisher(&self) -> &Option<String>

The publisher of the add-on.

source

pub fn owner(self, input: impl Into<String>) -> Self

The owner of the add-on.

source

pub fn set_owner(self, input: Option<String>) -> Self

The owner of the add-on.

source

pub fn get_owner(&self) -> &Option<String>

The owner of the add-on.

source

pub fn marketplace_information(self, input: MarketplaceInformation) -> Self

Information about an Amazon EKS add-on from the Amazon Web Services Marketplace.

source

pub fn set_marketplace_information( self, input: Option<MarketplaceInformation>, ) -> Self

Information about an Amazon EKS add-on from the Amazon Web Services Marketplace.

source

pub fn get_marketplace_information(&self) -> &Option<MarketplaceInformation>

Information about an Amazon EKS add-on from the Amazon Web Services Marketplace.

source

pub fn configuration_values(self, input: impl Into<String>) -> Self

The configuration values that you provided.

source

pub fn set_configuration_values(self, input: Option<String>) -> Self

The configuration values that you provided.

source

pub fn get_configuration_values(&self) -> &Option<String>

The configuration values that you provided.

source

pub fn pod_identity_associations(self, input: impl Into<String>) -> Self

Appends an item to pod_identity_associations.

To override the contents of this collection use set_pod_identity_associations.

An array of Pod Identity Assocations owned by the Addon. Each EKS Pod Identity association maps a role to a service account in a namespace in the cluster.

For more information, see Attach an IAM Role to an Amazon EKS add-on using Pod Identity in the EKS User Guide.

source

pub fn set_pod_identity_associations(self, input: Option<Vec<String>>) -> Self

An array of Pod Identity Assocations owned by the Addon. Each EKS Pod Identity association maps a role to a service account in a namespace in the cluster.

For more information, see Attach an IAM Role to an Amazon EKS add-on using Pod Identity in the EKS User Guide.

source

pub fn get_pod_identity_associations(&self) -> &Option<Vec<String>>

An array of Pod Identity Assocations owned by the Addon. Each EKS Pod Identity association maps a role to a service account in a namespace in the cluster.

For more information, see Attach an IAM Role to an Amazon EKS add-on using Pod Identity in the EKS User Guide.

source

pub fn build(self) -> Addon

Consumes the builder and constructs a Addon.

Trait Implementations§

source§

impl Clone for AddonBuilder

source§

fn clone(&self) -> AddonBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AddonBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for AddonBuilder

source§

fn default() -> AddonBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq for AddonBuilder

source§

fn eq(&self, other: &AddonBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for AddonBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts 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 more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts 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
source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more