#[non_exhaustive]pub struct AdvancedSecurityOptionsBuilder { /* private fields */ }
Expand description
A builder for AdvancedSecurityOptions
.
Implementations§
source§impl AdvancedSecurityOptionsBuilder
impl AdvancedSecurityOptionsBuilder
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
True if advanced security is enabled.
sourcepub fn get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
True if advanced security is enabled.
sourcepub fn internal_user_database_enabled(self, input: bool) -> Self
pub fn internal_user_database_enabled(self, input: bool) -> Self
True if the internal user database is enabled.
sourcepub fn set_internal_user_database_enabled(self, input: Option<bool>) -> Self
pub fn set_internal_user_database_enabled(self, input: Option<bool>) -> Self
True if the internal user database is enabled.
sourcepub fn get_internal_user_database_enabled(&self) -> &Option<bool>
pub fn get_internal_user_database_enabled(&self) -> &Option<bool>
True if the internal user database is enabled.
sourcepub fn saml_options(self, input: SamlOptionsOutput) -> Self
pub fn saml_options(self, input: SamlOptionsOutput) -> Self
Describes the SAML application configured for a domain.
sourcepub fn set_saml_options(self, input: Option<SamlOptionsOutput>) -> Self
pub fn set_saml_options(self, input: Option<SamlOptionsOutput>) -> Self
Describes the SAML application configured for a domain.
sourcepub fn get_saml_options(&self) -> &Option<SamlOptionsOutput>
pub fn get_saml_options(&self) -> &Option<SamlOptionsOutput>
Describes the SAML application configured for a domain.
sourcepub fn anonymous_auth_disable_date(self, input: DateTime) -> Self
pub fn anonymous_auth_disable_date(self, input: DateTime) -> Self
Specifies the Anonymous Auth Disable Date when Anonymous Auth is enabled.
sourcepub fn set_anonymous_auth_disable_date(self, input: Option<DateTime>) -> Self
pub fn set_anonymous_auth_disable_date(self, input: Option<DateTime>) -> Self
Specifies the Anonymous Auth Disable Date when Anonymous Auth is enabled.
sourcepub fn get_anonymous_auth_disable_date(&self) -> &Option<DateTime>
pub fn get_anonymous_auth_disable_date(&self) -> &Option<DateTime>
Specifies the Anonymous Auth Disable Date when Anonymous Auth is enabled.
sourcepub fn anonymous_auth_enabled(self, input: bool) -> Self
pub fn anonymous_auth_enabled(self, input: bool) -> Self
True if Anonymous auth is enabled. Anonymous auth can be enabled only when AdvancedSecurity is enabled on existing domains.
sourcepub fn set_anonymous_auth_enabled(self, input: Option<bool>) -> Self
pub fn set_anonymous_auth_enabled(self, input: Option<bool>) -> Self
True if Anonymous auth is enabled. Anonymous auth can be enabled only when AdvancedSecurity is enabled on existing domains.
sourcepub fn get_anonymous_auth_enabled(&self) -> &Option<bool>
pub fn get_anonymous_auth_enabled(&self) -> &Option<bool>
True if Anonymous auth is enabled. Anonymous auth can be enabled only when AdvancedSecurity is enabled on existing domains.
sourcepub fn build(self) -> AdvancedSecurityOptions
pub fn build(self) -> AdvancedSecurityOptions
Consumes the builder and constructs a AdvancedSecurityOptions
.
Trait Implementations§
source§impl Clone for AdvancedSecurityOptionsBuilder
impl Clone for AdvancedSecurityOptionsBuilder
source§fn clone(&self) -> AdvancedSecurityOptionsBuilder
fn clone(&self) -> AdvancedSecurityOptionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AdvancedSecurityOptionsBuilder
impl Default for AdvancedSecurityOptionsBuilder
source§fn default() -> AdvancedSecurityOptionsBuilder
fn default() -> AdvancedSecurityOptionsBuilder
source§impl PartialEq for AdvancedSecurityOptionsBuilder
impl PartialEq for AdvancedSecurityOptionsBuilder
source§fn eq(&self, other: &AdvancedSecurityOptionsBuilder) -> bool
fn eq(&self, other: &AdvancedSecurityOptionsBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AdvancedSecurityOptionsBuilder
Auto Trait Implementations§
impl Freeze for AdvancedSecurityOptionsBuilder
impl RefUnwindSafe for AdvancedSecurityOptionsBuilder
impl Send for AdvancedSecurityOptionsBuilder
impl Sync for AdvancedSecurityOptionsBuilder
impl Unpin for AdvancedSecurityOptionsBuilder
impl UnwindSafe for AdvancedSecurityOptionsBuilder
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