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