#[non_exhaustive]pub struct ServiceAccountCredentialsBuilder { /* private fields */ }
Expand description
A builder for ServiceAccountCredentials
.
Implementations§
source§impl ServiceAccountCredentialsBuilder
impl ServiceAccountCredentialsBuilder
sourcepub fn account_name(self, input: impl Into<String>) -> Self
pub fn account_name(self, input: impl Into<String>) -> Self
The user name of the account. This account must have the following privileges: create computer objects, join computers to the domain, and change/reset the password on descendant computer objects for the organizational units specified.
This field is required.sourcepub fn set_account_name(self, input: Option<String>) -> Self
pub fn set_account_name(self, input: Option<String>) -> Self
The user name of the account. This account must have the following privileges: create computer objects, join computers to the domain, and change/reset the password on descendant computer objects for the organizational units specified.
sourcepub fn get_account_name(&self) -> &Option<String>
pub fn get_account_name(&self) -> &Option<String>
The user name of the account. This account must have the following privileges: create computer objects, join computers to the domain, and change/reset the password on descendant computer objects for the organizational units specified.
sourcepub fn account_password(self, input: impl Into<String>) -> Self
pub fn account_password(self, input: impl Into<String>) -> Self
The password for the account.
This field is required.sourcepub fn set_account_password(self, input: Option<String>) -> Self
pub fn set_account_password(self, input: Option<String>) -> Self
The password for the account.
sourcepub fn get_account_password(&self) -> &Option<String>
pub fn get_account_password(&self) -> &Option<String>
The password for the account.
sourcepub fn build(self) -> ServiceAccountCredentials
pub fn build(self) -> ServiceAccountCredentials
Consumes the builder and constructs a ServiceAccountCredentials
.
Trait Implementations§
source§impl Clone for ServiceAccountCredentialsBuilder
impl Clone for ServiceAccountCredentialsBuilder
source§fn clone(&self) -> ServiceAccountCredentialsBuilder
fn clone(&self) -> ServiceAccountCredentialsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ServiceAccountCredentialsBuilder
impl Default for ServiceAccountCredentialsBuilder
source§fn default() -> ServiceAccountCredentialsBuilder
fn default() -> ServiceAccountCredentialsBuilder
source§impl PartialEq for ServiceAccountCredentialsBuilder
impl PartialEq for ServiceAccountCredentialsBuilder
source§fn eq(&self, other: &ServiceAccountCredentialsBuilder) -> bool
fn eq(&self, other: &ServiceAccountCredentialsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ServiceAccountCredentialsBuilder
Auto Trait Implementations§
impl Freeze for ServiceAccountCredentialsBuilder
impl RefUnwindSafe for ServiceAccountCredentialsBuilder
impl Send for ServiceAccountCredentialsBuilder
impl Sync for ServiceAccountCredentialsBuilder
impl Unpin for ServiceAccountCredentialsBuilder
impl UnwindSafe for ServiceAccountCredentialsBuilder
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