#[non_exhaustive]pub struct AuthenticationModeBuilder { /* private fields */ }
Expand description
A builder for AuthenticationMode
.
Implementations§
source§impl AuthenticationModeBuilder
impl AuthenticationModeBuilder
sourcepub fn type(self, input: InputAuthenticationType) -> Self
pub fn type(self, input: InputAuthenticationType) -> Self
Specifies the authentication type. Possible options are IAM authentication, password and no password.
sourcepub fn set_type(self, input: Option<InputAuthenticationType>) -> Self
pub fn set_type(self, input: Option<InputAuthenticationType>) -> Self
Specifies the authentication type. Possible options are IAM authentication, password and no password.
sourcepub fn passwords(self, input: impl Into<String>) -> Self
pub fn passwords(self, input: impl Into<String>) -> Self
Appends an item to passwords
.
To override the contents of this collection use set_passwords
.
Specifies the passwords to use for authentication if Type
is set to password
.
sourcepub fn set_passwords(self, input: Option<Vec<String>>) -> Self
pub fn set_passwords(self, input: Option<Vec<String>>) -> Self
Specifies the passwords to use for authentication if Type
is set to password
.
sourcepub fn build(self) -> AuthenticationMode
pub fn build(self) -> AuthenticationMode
Consumes the builder and constructs a AuthenticationMode
.
Trait Implementations§
source§impl Clone for AuthenticationModeBuilder
impl Clone for AuthenticationModeBuilder
source§fn clone(&self) -> AuthenticationModeBuilder
fn clone(&self) -> AuthenticationModeBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AuthenticationModeBuilder
impl Debug for AuthenticationModeBuilder
source§impl Default for AuthenticationModeBuilder
impl Default for AuthenticationModeBuilder
source§fn default() -> AuthenticationModeBuilder
fn default() -> AuthenticationModeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AuthenticationModeBuilder> for AuthenticationModeBuilder
impl PartialEq<AuthenticationModeBuilder> for AuthenticationModeBuilder
source§fn eq(&self, other: &AuthenticationModeBuilder) -> bool
fn eq(&self, other: &AuthenticationModeBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.