#[non_exhaustive]pub struct AuthenticationSummaryBuilder { /* private fields */ }
Expand description
A builder for AuthenticationSummary
.
Implementations§
source§impl AuthenticationSummaryBuilder
impl AuthenticationSummaryBuilder
sourcepub fn providers(self, input: AuthenticationProviderTypes) -> Self
pub fn providers(self, input: AuthenticationProviderTypes) -> Self
Appends an item to providers
.
To override the contents of this collection use set_providers
.
Specifies whether the workspace uses SAML, IAM Identity Center, or both methods for user authentication.
sourcepub fn set_providers(
self,
input: Option<Vec<AuthenticationProviderTypes>>,
) -> Self
pub fn set_providers( self, input: Option<Vec<AuthenticationProviderTypes>>, ) -> Self
Specifies whether the workspace uses SAML, IAM Identity Center, or both methods for user authentication.
sourcepub fn get_providers(&self) -> &Option<Vec<AuthenticationProviderTypes>>
pub fn get_providers(&self) -> &Option<Vec<AuthenticationProviderTypes>>
Specifies whether the workspace uses SAML, IAM Identity Center, or both methods for user authentication.
sourcepub fn saml_configuration_status(self, input: SamlConfigurationStatus) -> Self
pub fn saml_configuration_status(self, input: SamlConfigurationStatus) -> Self
Specifies whether the workplace's user authentication method is fully configured.
sourcepub fn set_saml_configuration_status(
self,
input: Option<SamlConfigurationStatus>,
) -> Self
pub fn set_saml_configuration_status( self, input: Option<SamlConfigurationStatus>, ) -> Self
Specifies whether the workplace's user authentication method is fully configured.
sourcepub fn get_saml_configuration_status(&self) -> &Option<SamlConfigurationStatus>
pub fn get_saml_configuration_status(&self) -> &Option<SamlConfigurationStatus>
Specifies whether the workplace's user authentication method is fully configured.
sourcepub fn build(self) -> Result<AuthenticationSummary, BuildError>
pub fn build(self) -> Result<AuthenticationSummary, BuildError>
Consumes the builder and constructs a AuthenticationSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for AuthenticationSummaryBuilder
impl Clone for AuthenticationSummaryBuilder
source§fn clone(&self) -> AuthenticationSummaryBuilder
fn clone(&self) -> AuthenticationSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AuthenticationSummaryBuilder
impl Debug for AuthenticationSummaryBuilder
source§impl Default for AuthenticationSummaryBuilder
impl Default for AuthenticationSummaryBuilder
source§fn default() -> AuthenticationSummaryBuilder
fn default() -> AuthenticationSummaryBuilder
source§impl PartialEq for AuthenticationSummaryBuilder
impl PartialEq for AuthenticationSummaryBuilder
source§fn eq(&self, other: &AuthenticationSummaryBuilder) -> bool
fn eq(&self, other: &AuthenticationSummaryBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AuthenticationSummaryBuilder
Auto Trait Implementations§
impl Freeze for AuthenticationSummaryBuilder
impl RefUnwindSafe for AuthenticationSummaryBuilder
impl Send for AuthenticationSummaryBuilder
impl Sync for AuthenticationSummaryBuilder
impl Unpin for AuthenticationSummaryBuilder
impl UnwindSafe for AuthenticationSummaryBuilder
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> 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)
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>
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