Struct aws_sdk_eksauth::types::builders::SubjectBuilder
source · #[non_exhaustive]pub struct SubjectBuilder { /* private fields */ }Expand description
A builder for Subject.
Implementations§
source§impl SubjectBuilder
impl SubjectBuilder
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.
This field is required.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.
This field is required.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.
Trait Implementations§
source§impl Clone for SubjectBuilder
impl Clone for SubjectBuilder
source§fn clone(&self) -> SubjectBuilder
fn clone(&self) -> SubjectBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SubjectBuilder
impl Debug for SubjectBuilder
source§impl Default for SubjectBuilder
impl Default for SubjectBuilder
source§fn default() -> SubjectBuilder
fn default() -> SubjectBuilder
source§impl PartialEq for SubjectBuilder
impl PartialEq for SubjectBuilder
source§fn eq(&self, other: &SubjectBuilder) -> bool
fn eq(&self, other: &SubjectBuilder) -> bool
self and other values to be equal, and is used
by ==.