Struct aws_sdk_eks::types::builders::PodIdentityAssociationBuilder
source · #[non_exhaustive]pub struct PodIdentityAssociationBuilder { /* private fields */ }Expand description
A builder for PodIdentityAssociation.
Implementations§
source§impl PodIdentityAssociationBuilder
impl PodIdentityAssociationBuilder
sourcepub fn cluster_name(self, input: impl Into<String>) -> Self
pub fn cluster_name(self, input: impl Into<String>) -> Self
The name of the cluster that the association is in.
sourcepub fn set_cluster_name(self, input: Option<String>) -> Self
pub fn set_cluster_name(self, input: Option<String>) -> Self
The name of the cluster that the association is in.
sourcepub fn get_cluster_name(&self) -> &Option<String>
pub fn get_cluster_name(&self) -> &Option<String>
The name of the cluster that the association is in.
sourcepub fn namespace(self, input: impl Into<String>) -> Self
pub fn namespace(self, input: impl Into<String>) -> Self
The name of the Kubernetes namespace inside the cluster to create the association in. The service account and the pods that use the service account must be in this namespace.
sourcepub fn set_namespace(self, input: Option<String>) -> Self
pub fn set_namespace(self, input: Option<String>) -> Self
The name of the Kubernetes namespace inside the cluster to create the association in. The service account and the pods that use the service account must be in this namespace.
sourcepub fn get_namespace(&self) -> &Option<String>
pub fn get_namespace(&self) -> &Option<String>
The name of the Kubernetes namespace inside the cluster to create the association in. The service account and the pods that use the service account must be in this namespace.
sourcepub fn service_account(self, input: impl Into<String>) -> Self
pub fn service_account(self, input: impl Into<String>) -> Self
The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
sourcepub fn set_service_account(self, input: Option<String>) -> Self
pub fn set_service_account(self, input: Option<String>) -> Self
The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
sourcepub fn get_service_account(&self) -> &Option<String>
pub fn get_service_account(&self) -> &Option<String>
The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the IAM role to associate with the service account. The EKS Pod Identity agent manages credentials to assume this role for applications in the containers in the pods that use this service account.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the IAM role to associate with the service account. The EKS Pod Identity agent manages credentials to assume this role for applications in the containers in the pods that use this service account.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the IAM role to associate with the service account. The EKS Pod Identity agent manages credentials to assume this role for applications in the containers in the pods that use this service account.
sourcepub fn association_arn(self, input: impl Into<String>) -> Self
pub fn association_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the association.
sourcepub fn set_association_arn(self, input: Option<String>) -> Self
pub fn set_association_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the association.
sourcepub fn get_association_arn(&self) -> &Option<String>
pub fn get_association_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the association.
sourcepub fn association_id(self, input: impl Into<String>) -> Self
pub fn association_id(self, input: impl Into<String>) -> Self
The ID of the association.
sourcepub fn set_association_id(self, input: Option<String>) -> Self
pub fn set_association_id(self, input: Option<String>) -> Self
The ID of the association.
sourcepub fn get_association_id(&self) -> &Option<String>
pub fn get_association_id(&self) -> &Option<String>
The ID of the association.
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.
The following basic restrictions apply to tags:
-
Maximum number of tags per resource – 50
-
For each resource, each tag key must be unique, and each tag key can have only one value.
-
Maximum key length – 128 Unicode characters in UTF-8
-
Maximum value length – 256 Unicode characters in UTF-8
-
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
-
Tag keys and values are case-sensitive.
-
Do not use
aws:,AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
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.
The following basic restrictions apply to tags:
-
Maximum number of tags per resource – 50
-
For each resource, each tag key must be unique, and each tag key can have only one value.
-
Maximum key length – 128 Unicode characters in UTF-8
-
Maximum value length – 256 Unicode characters in UTF-8
-
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
-
Tag keys and values are case-sensitive.
-
Do not use
aws:,AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
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.
The following basic restrictions apply to tags:
-
Maximum number of tags per resource – 50
-
For each resource, each tag key must be unique, and each tag key can have only one value.
-
Maximum key length – 128 Unicode characters in UTF-8
-
Maximum value length – 256 Unicode characters in UTF-8
-
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
-
Tag keys and values are case-sensitive.
-
Do not use
aws:,AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The timestamp that the association was created at.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The timestamp that the association was created at.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The timestamp that the association was created at.
sourcepub fn modified_at(self, input: DateTime) -> Self
pub fn modified_at(self, input: DateTime) -> Self
The most recent timestamp that the association was modified at
sourcepub fn set_modified_at(self, input: Option<DateTime>) -> Self
pub fn set_modified_at(self, input: Option<DateTime>) -> Self
The most recent timestamp that the association was modified at
sourcepub fn get_modified_at(&self) -> &Option<DateTime>
pub fn get_modified_at(&self) -> &Option<DateTime>
The most recent timestamp that the association was modified at
sourcepub fn owner_arn(self, input: impl Into<String>) -> Self
pub fn owner_arn(self, input: impl Into<String>) -> Self
If defined, the Pod Identity Association is owned by an Amazon EKS Addon.
sourcepub fn set_owner_arn(self, input: Option<String>) -> Self
pub fn set_owner_arn(self, input: Option<String>) -> Self
If defined, the Pod Identity Association is owned by an Amazon EKS Addon.
sourcepub fn get_owner_arn(&self) -> &Option<String>
pub fn get_owner_arn(&self) -> &Option<String>
If defined, the Pod Identity Association is owned by an Amazon EKS Addon.
sourcepub fn build(self) -> PodIdentityAssociation
pub fn build(self) -> PodIdentityAssociation
Consumes the builder and constructs a PodIdentityAssociation.
Trait Implementations§
source§impl Clone for PodIdentityAssociationBuilder
impl Clone for PodIdentityAssociationBuilder
source§fn clone(&self) -> PodIdentityAssociationBuilder
fn clone(&self) -> PodIdentityAssociationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for PodIdentityAssociationBuilder
impl Default for PodIdentityAssociationBuilder
source§fn default() -> PodIdentityAssociationBuilder
fn default() -> PodIdentityAssociationBuilder
source§impl PartialEq for PodIdentityAssociationBuilder
impl PartialEq for PodIdentityAssociationBuilder
source§fn eq(&self, other: &PodIdentityAssociationBuilder) -> bool
fn eq(&self, other: &PodIdentityAssociationBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PodIdentityAssociationBuilder
Auto Trait Implementations§
impl Freeze for PodIdentityAssociationBuilder
impl RefUnwindSafe for PodIdentityAssociationBuilder
impl Send for PodIdentityAssociationBuilder
impl Sync for PodIdentityAssociationBuilder
impl Unpin for PodIdentityAssociationBuilder
impl UnwindSafe for PodIdentityAssociationBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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