Struct aws_sdk_appstream::operation::update_directory_config::builders::UpdateDirectoryConfigInputBuilder
source · #[non_exhaustive]pub struct UpdateDirectoryConfigInputBuilder { /* private fields */ }
Expand description
A builder for UpdateDirectoryConfigInput
.
Implementations§
source§impl UpdateDirectoryConfigInputBuilder
impl UpdateDirectoryConfigInputBuilder
sourcepub fn directory_name(self, input: impl Into<String>) -> Self
pub fn directory_name(self, input: impl Into<String>) -> Self
The name of the Directory Config object.
This field is required.sourcepub fn set_directory_name(self, input: Option<String>) -> Self
pub fn set_directory_name(self, input: Option<String>) -> Self
The name of the Directory Config object.
sourcepub fn get_directory_name(&self) -> &Option<String>
pub fn get_directory_name(&self) -> &Option<String>
The name of the Directory Config object.
sourcepub fn organizational_unit_distinguished_names(
self,
input: impl Into<String>
) -> Self
pub fn organizational_unit_distinguished_names( self, input: impl Into<String> ) -> Self
Appends an item to organizational_unit_distinguished_names
.
To override the contents of this collection use set_organizational_unit_distinguished_names
.
The distinguished names of the organizational units for computer accounts.
sourcepub fn set_organizational_unit_distinguished_names(
self,
input: Option<Vec<String>>
) -> Self
pub fn set_organizational_unit_distinguished_names( self, input: Option<Vec<String>> ) -> Self
The distinguished names of the organizational units for computer accounts.
sourcepub fn get_organizational_unit_distinguished_names(
&self
) -> &Option<Vec<String>>
pub fn get_organizational_unit_distinguished_names( &self ) -> &Option<Vec<String>>
The distinguished names of the organizational units for computer accounts.
sourcepub fn service_account_credentials(
self,
input: ServiceAccountCredentials
) -> Self
pub fn service_account_credentials( self, input: ServiceAccountCredentials ) -> Self
The credentials for the service account used by the fleet or image builder to connect to the directory.
sourcepub fn set_service_account_credentials(
self,
input: Option<ServiceAccountCredentials>
) -> Self
pub fn set_service_account_credentials( self, input: Option<ServiceAccountCredentials> ) -> Self
The credentials for the service account used by the fleet or image builder to connect to the directory.
sourcepub fn get_service_account_credentials(
&self
) -> &Option<ServiceAccountCredentials>
pub fn get_service_account_credentials( &self ) -> &Option<ServiceAccountCredentials>
The credentials for the service account used by the fleet or image builder to connect to the directory.
sourcepub fn certificate_based_auth_properties(
self,
input: CertificateBasedAuthProperties
) -> Self
pub fn certificate_based_auth_properties( self, input: CertificateBasedAuthProperties ) -> Self
The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances. Fallback is turned on by default when certificate-based authentication is Enabled . Fallback allows users to log in using their AD domain password if certificate-based authentication is unsuccessful, or to unlock a desktop lock screen. Enabled_no_directory_login_fallback enables certificate-based authentication, but does not allow users to log in using their AD domain password. Users will be disconnected to re-authenticate using certificates.
sourcepub fn set_certificate_based_auth_properties(
self,
input: Option<CertificateBasedAuthProperties>
) -> Self
pub fn set_certificate_based_auth_properties( self, input: Option<CertificateBasedAuthProperties> ) -> Self
The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances. Fallback is turned on by default when certificate-based authentication is Enabled . Fallback allows users to log in using their AD domain password if certificate-based authentication is unsuccessful, or to unlock a desktop lock screen. Enabled_no_directory_login_fallback enables certificate-based authentication, but does not allow users to log in using their AD domain password. Users will be disconnected to re-authenticate using certificates.
sourcepub fn get_certificate_based_auth_properties(
&self
) -> &Option<CertificateBasedAuthProperties>
pub fn get_certificate_based_auth_properties( &self ) -> &Option<CertificateBasedAuthProperties>
The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances. Fallback is turned on by default when certificate-based authentication is Enabled . Fallback allows users to log in using their AD domain password if certificate-based authentication is unsuccessful, or to unlock a desktop lock screen. Enabled_no_directory_login_fallback enables certificate-based authentication, but does not allow users to log in using their AD domain password. Users will be disconnected to re-authenticate using certificates.
sourcepub fn build(self) -> Result<UpdateDirectoryConfigInput, BuildError>
pub fn build(self) -> Result<UpdateDirectoryConfigInput, BuildError>
Consumes the builder and constructs a UpdateDirectoryConfigInput
.
source§impl UpdateDirectoryConfigInputBuilder
impl UpdateDirectoryConfigInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateDirectoryConfigOutput, SdkError<UpdateDirectoryConfigError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateDirectoryConfigOutput, SdkError<UpdateDirectoryConfigError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateDirectoryConfigInputBuilder
impl Clone for UpdateDirectoryConfigInputBuilder
source§fn clone(&self) -> UpdateDirectoryConfigInputBuilder
fn clone(&self) -> UpdateDirectoryConfigInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateDirectoryConfigInputBuilder
impl Default for UpdateDirectoryConfigInputBuilder
source§fn default() -> UpdateDirectoryConfigInputBuilder
fn default() -> UpdateDirectoryConfigInputBuilder
source§impl PartialEq for UpdateDirectoryConfigInputBuilder
impl PartialEq for UpdateDirectoryConfigInputBuilder
source§fn eq(&self, other: &UpdateDirectoryConfigInputBuilder) -> bool
fn eq(&self, other: &UpdateDirectoryConfigInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateDirectoryConfigInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateDirectoryConfigInputBuilder
impl RefUnwindSafe for UpdateDirectoryConfigInputBuilder
impl Send for UpdateDirectoryConfigInputBuilder
impl Sync for UpdateDirectoryConfigInputBuilder
impl Unpin for UpdateDirectoryConfigInputBuilder
impl UnwindSafe for UpdateDirectoryConfigInputBuilder
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