Struct aws_sdk_appstream::operation::create_directory_config::builders::CreateDirectoryConfigInputBuilder
source · #[non_exhaustive]pub struct CreateDirectoryConfigInputBuilder { /* private fields */ }
Expand description
A builder for CreateDirectoryConfigInput
.
Implementations§
source§impl CreateDirectoryConfigInputBuilder
impl CreateDirectoryConfigInputBuilder
sourcepub fn directory_name(self, input: impl Into<String>) -> Self
pub fn directory_name(self, input: impl Into<String>) -> Self
The fully qualified name of the directory (for example, corp.example.com).
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 fully qualified name of the directory (for example, corp.example.com).
sourcepub fn get_directory_name(&self) -> &Option<String>
pub fn get_directory_name(&self) -> &Option<String>
The fully qualified name of the directory (for example, corp.example.com).
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<CreateDirectoryConfigInput, BuildError>
pub fn build(self) -> Result<CreateDirectoryConfigInput, BuildError>
Consumes the builder and constructs a CreateDirectoryConfigInput
.
source§impl CreateDirectoryConfigInputBuilder
impl CreateDirectoryConfigInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateDirectoryConfigOutput, SdkError<CreateDirectoryConfigError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateDirectoryConfigOutput, SdkError<CreateDirectoryConfigError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateDirectoryConfigInputBuilder
impl Clone for CreateDirectoryConfigInputBuilder
source§fn clone(&self) -> CreateDirectoryConfigInputBuilder
fn clone(&self) -> CreateDirectoryConfigInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateDirectoryConfigInputBuilder
impl Default for CreateDirectoryConfigInputBuilder
source§fn default() -> CreateDirectoryConfigInputBuilder
fn default() -> CreateDirectoryConfigInputBuilder
source§impl PartialEq for CreateDirectoryConfigInputBuilder
impl PartialEq for CreateDirectoryConfigInputBuilder
source§fn eq(&self, other: &CreateDirectoryConfigInputBuilder) -> bool
fn eq(&self, other: &CreateDirectoryConfigInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.