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