#[non_exhaustive]pub struct CreateAccessConfigRequestBuilder { /* private fields */ }
Expand description
A builder for CreateAccessConfigRequest
.
Implementations§
source§impl CreateAccessConfigRequestBuilder
impl CreateAccessConfigRequestBuilder
sourcepub fn bootstrap_cluster_creator_admin_permissions(self, input: bool) -> Self
pub fn bootstrap_cluster_creator_admin_permissions(self, input: bool) -> Self
Specifies whether or not the cluster creator IAM principal was set as a cluster admin access entry during cluster creation time. The default value is true
.
sourcepub fn set_bootstrap_cluster_creator_admin_permissions(
self,
input: Option<bool>,
) -> Self
pub fn set_bootstrap_cluster_creator_admin_permissions( self, input: Option<bool>, ) -> Self
Specifies whether or not the cluster creator IAM principal was set as a cluster admin access entry during cluster creation time. The default value is true
.
sourcepub fn get_bootstrap_cluster_creator_admin_permissions(&self) -> &Option<bool>
pub fn get_bootstrap_cluster_creator_admin_permissions(&self) -> &Option<bool>
Specifies whether or not the cluster creator IAM principal was set as a cluster admin access entry during cluster creation time. The default value is true
.
sourcepub fn authentication_mode(self, input: AuthenticationMode) -> Self
pub fn authentication_mode(self, input: AuthenticationMode) -> Self
The desired authentication mode for the cluster. If you create a cluster by using the EKS API, Amazon Web Services SDKs, or CloudFormation, the default is CONFIG_MAP
. If you create the cluster by using the Amazon Web Services Management Console, the default value is API_AND_CONFIG_MAP
.
sourcepub fn set_authentication_mode(self, input: Option<AuthenticationMode>) -> Self
pub fn set_authentication_mode(self, input: Option<AuthenticationMode>) -> Self
The desired authentication mode for the cluster. If you create a cluster by using the EKS API, Amazon Web Services SDKs, or CloudFormation, the default is CONFIG_MAP
. If you create the cluster by using the Amazon Web Services Management Console, the default value is API_AND_CONFIG_MAP
.
sourcepub fn get_authentication_mode(&self) -> &Option<AuthenticationMode>
pub fn get_authentication_mode(&self) -> &Option<AuthenticationMode>
The desired authentication mode for the cluster. If you create a cluster by using the EKS API, Amazon Web Services SDKs, or CloudFormation, the default is CONFIG_MAP
. If you create the cluster by using the Amazon Web Services Management Console, the default value is API_AND_CONFIG_MAP
.
sourcepub fn build(self) -> CreateAccessConfigRequest
pub fn build(self) -> CreateAccessConfigRequest
Consumes the builder and constructs a CreateAccessConfigRequest
.
Trait Implementations§
source§impl Clone for CreateAccessConfigRequestBuilder
impl Clone for CreateAccessConfigRequestBuilder
source§fn clone(&self) -> CreateAccessConfigRequestBuilder
fn clone(&self) -> CreateAccessConfigRequestBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateAccessConfigRequestBuilder
impl Default for CreateAccessConfigRequestBuilder
source§fn default() -> CreateAccessConfigRequestBuilder
fn default() -> CreateAccessConfigRequestBuilder
source§impl PartialEq for CreateAccessConfigRequestBuilder
impl PartialEq for CreateAccessConfigRequestBuilder
source§fn eq(&self, other: &CreateAccessConfigRequestBuilder) -> bool
fn eq(&self, other: &CreateAccessConfigRequestBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateAccessConfigRequestBuilder
Auto Trait Implementations§
impl Freeze for CreateAccessConfigRequestBuilder
impl RefUnwindSafe for CreateAccessConfigRequestBuilder
impl Send for CreateAccessConfigRequestBuilder
impl Sync for CreateAccessConfigRequestBuilder
impl Unpin for CreateAccessConfigRequestBuilder
impl UnwindSafe for CreateAccessConfigRequestBuilder
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