#[non_exhaustive]pub struct EnableSsoInputBuilder { /* private fields */ }Expand description
A builder for EnableSsoInput.
Implementations§
source§impl EnableSsoInputBuilder
impl EnableSsoInputBuilder
sourcepub fn directory_id(self, input: impl Into<String>) -> Self
pub fn directory_id(self, input: impl Into<String>) -> Self
The identifier of the directory for which to enable single-sign on.
This field is required.sourcepub fn set_directory_id(self, input: Option<String>) -> Self
pub fn set_directory_id(self, input: Option<String>) -> Self
The identifier of the directory for which to enable single-sign on.
sourcepub fn get_directory_id(&self) -> &Option<String>
pub fn get_directory_id(&self) -> &Option<String>
The identifier of the directory for which to enable single-sign on.
sourcepub fn user_name(self, input: impl Into<String>) -> Self
pub fn user_name(self, input: impl Into<String>) -> Self
The username of an alternate account to use to enable single-sign on. This is only used for AD Connector directories. This account must have privileges to add a service principal name.
If the AD Connector service account does not have privileges to add a service principal name, you can specify an alternate account with the UserName and Password parameters. These credentials are only used to enable single sign-on and are not stored by the service. The AD Connector service account is not changed.
sourcepub fn set_user_name(self, input: Option<String>) -> Self
pub fn set_user_name(self, input: Option<String>) -> Self
The username of an alternate account to use to enable single-sign on. This is only used for AD Connector directories. This account must have privileges to add a service principal name.
If the AD Connector service account does not have privileges to add a service principal name, you can specify an alternate account with the UserName and Password parameters. These credentials are only used to enable single sign-on and are not stored by the service. The AD Connector service account is not changed.
sourcepub fn get_user_name(&self) -> &Option<String>
pub fn get_user_name(&self) -> &Option<String>
The username of an alternate account to use to enable single-sign on. This is only used for AD Connector directories. This account must have privileges to add a service principal name.
If the AD Connector service account does not have privileges to add a service principal name, you can specify an alternate account with the UserName and Password parameters. These credentials are only used to enable single sign-on and are not stored by the service. The AD Connector service account is not changed.
sourcepub fn password(self, input: impl Into<String>) -> Self
pub fn password(self, input: impl Into<String>) -> Self
The password of an alternate account to use to enable single-sign on. This is only used for AD Connector directories. For more information, see the UserName parameter.
sourcepub fn set_password(self, input: Option<String>) -> Self
pub fn set_password(self, input: Option<String>) -> Self
The password of an alternate account to use to enable single-sign on. This is only used for AD Connector directories. For more information, see the UserName parameter.
sourcepub fn get_password(&self) -> &Option<String>
pub fn get_password(&self) -> &Option<String>
The password of an alternate account to use to enable single-sign on. This is only used for AD Connector directories. For more information, see the UserName parameter.
sourcepub fn build(self) -> Result<EnableSsoInput, BuildError>
pub fn build(self) -> Result<EnableSsoInput, BuildError>
Consumes the builder and constructs a EnableSsoInput.
source§impl EnableSsoInputBuilder
impl EnableSsoInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<EnableSsoOutput, SdkError<EnableSsoError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<EnableSsoOutput, SdkError<EnableSsoError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for EnableSsoInputBuilder
impl Clone for EnableSsoInputBuilder
source§fn clone(&self) -> EnableSsoInputBuilder
fn clone(&self) -> EnableSsoInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for EnableSsoInputBuilder
impl Debug for EnableSsoInputBuilder
source§impl Default for EnableSsoInputBuilder
impl Default for EnableSsoInputBuilder
source§fn default() -> EnableSsoInputBuilder
fn default() -> EnableSsoInputBuilder
source§impl PartialEq for EnableSsoInputBuilder
impl PartialEq for EnableSsoInputBuilder
source§fn eq(&self, other: &EnableSsoInputBuilder) -> bool
fn eq(&self, other: &EnableSsoInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for EnableSsoInputBuilder
Auto Trait Implementations§
impl Freeze for EnableSsoInputBuilder
impl RefUnwindSafe for EnableSsoInputBuilder
impl Send for EnableSsoInputBuilder
impl Sync for EnableSsoInputBuilder
impl Unpin for EnableSsoInputBuilder
impl UnwindSafe for EnableSsoInputBuilder
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> 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