#[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 get_type(&self) -> &Option<InputAuthenticationType>
pub fn get_type(&self) -> &Option<InputAuthenticationType>
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 get_passwords(&self) -> &Option<Vec<String>>
pub fn get_passwords(&self) -> &Option<Vec<String>>
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 for AuthenticationModeBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for AuthenticationModeBuilder
Auto Trait Implementations§
impl Freeze for AuthenticationModeBuilder
impl RefUnwindSafe for AuthenticationModeBuilder
impl Send for AuthenticationModeBuilder
impl Sync for AuthenticationModeBuilder
impl Unpin for AuthenticationModeBuilder
impl UnwindSafe for AuthenticationModeBuilder
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.