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