#[non_exhaustive]pub struct SelfManagedActiveDirectoryConfigurationBuilder { /* private fields */ }
Expand description
A builder for SelfManagedActiveDirectoryConfiguration
.
Implementations§
source§impl SelfManagedActiveDirectoryConfigurationBuilder
impl SelfManagedActiveDirectoryConfigurationBuilder
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The fully qualified domain name of the self-managed AD directory, such as corp.example.com
.
sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
The fully qualified domain name of the self-managed AD directory, such as corp.example.com
.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
The fully qualified domain name of the self-managed AD directory, such as corp.example.com
.
sourcepub fn organizational_unit_distinguished_name(
self,
input: impl Into<String>
) -> Self
pub fn organizational_unit_distinguished_name( self, input: impl Into<String> ) -> Self
(Optional) The fully qualified distinguished name of the organizational unit within your self-managed AD directory. Amazon FSx only accepts OU as the direct parent of the file system. An example is OU=FSx,DC=yourdomain,DC=corp,DC=com
. To learn more, see RFC 2253. If none is provided, the FSx file system is created in the default location of your self-managed AD directory.
Only Organizational Unit (OU) objects can be the direct parent of the file system that you're creating.
sourcepub fn set_organizational_unit_distinguished_name(
self,
input: Option<String>
) -> Self
pub fn set_organizational_unit_distinguished_name( self, input: Option<String> ) -> Self
(Optional) The fully qualified distinguished name of the organizational unit within your self-managed AD directory. Amazon FSx only accepts OU as the direct parent of the file system. An example is OU=FSx,DC=yourdomain,DC=corp,DC=com
. To learn more, see RFC 2253. If none is provided, the FSx file system is created in the default location of your self-managed AD directory.
Only Organizational Unit (OU) objects can be the direct parent of the file system that you're creating.
sourcepub fn get_organizational_unit_distinguished_name(&self) -> &Option<String>
pub fn get_organizational_unit_distinguished_name(&self) -> &Option<String>
(Optional) The fully qualified distinguished name of the organizational unit within your self-managed AD directory. Amazon FSx only accepts OU as the direct parent of the file system. An example is OU=FSx,DC=yourdomain,DC=corp,DC=com
. To learn more, see RFC 2253. If none is provided, the FSx file system is created in the default location of your self-managed AD directory.
Only Organizational Unit (OU) objects can be the direct parent of the file system that you're creating.
sourcepub fn file_system_administrators_group(self, input: impl Into<String>) -> Self
pub fn file_system_administrators_group(self, input: impl Into<String>) -> Self
(Optional) The name of the domain group whose members are granted administrative privileges for the file system. Administrative privileges include taking ownership of files and folders, setting audit controls (audit ACLs) on files and folders, and administering the file system remotely by using the FSx Remote PowerShell. The group that you specify must already exist in your domain. If you don't provide one, your AD domain's Domain Admins group is used.
sourcepub fn set_file_system_administrators_group(self, input: Option<String>) -> Self
pub fn set_file_system_administrators_group(self, input: Option<String>) -> Self
(Optional) The name of the domain group whose members are granted administrative privileges for the file system. Administrative privileges include taking ownership of files and folders, setting audit controls (audit ACLs) on files and folders, and administering the file system remotely by using the FSx Remote PowerShell. The group that you specify must already exist in your domain. If you don't provide one, your AD domain's Domain Admins group is used.
sourcepub fn get_file_system_administrators_group(&self) -> &Option<String>
pub fn get_file_system_administrators_group(&self) -> &Option<String>
(Optional) The name of the domain group whose members are granted administrative privileges for the file system. Administrative privileges include taking ownership of files and folders, setting audit controls (audit ACLs) on files and folders, and administering the file system remotely by using the FSx Remote PowerShell. The group that you specify must already exist in your domain. If you don't provide one, your AD domain's Domain Admins group is used.
sourcepub fn user_name(self, input: impl Into<String>) -> Self
pub fn user_name(self, input: impl Into<String>) -> Self
The user name for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain. This account must have the permission to join computers to the domain in the organizational unit provided in OrganizationalUnitDistinguishedName
, or in the default location of your AD domain.
sourcepub fn set_user_name(self, input: Option<String>) -> Self
pub fn set_user_name(self, input: Option<String>) -> Self
The user name for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain. This account must have the permission to join computers to the domain in the organizational unit provided in OrganizationalUnitDistinguishedName
, or in the default location of your AD domain.
sourcepub fn get_user_name(&self) -> &Option<String>
pub fn get_user_name(&self) -> &Option<String>
The user name for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain. This account must have the permission to join computers to the domain in the organizational unit provided in OrganizationalUnitDistinguishedName
, or in the default location of your AD domain.
sourcepub fn password(self, input: impl Into<String>) -> Self
pub fn password(self, input: impl Into<String>) -> Self
The password for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain.
This field is required.sourcepub fn set_password(self, input: Option<String>) -> Self
pub fn set_password(self, input: Option<String>) -> Self
The password for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain.
sourcepub fn get_password(&self) -> &Option<String>
pub fn get_password(&self) -> &Option<String>
The password for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain.
sourcepub fn dns_ips(self, input: impl Into<String>) -> Self
pub fn dns_ips(self, input: impl Into<String>) -> Self
Appends an item to dns_ips
.
To override the contents of this collection use set_dns_ips
.
A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory.
sourcepub fn set_dns_ips(self, input: Option<Vec<String>>) -> Self
pub fn set_dns_ips(self, input: Option<Vec<String>>) -> Self
A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory.
sourcepub fn get_dns_ips(&self) -> &Option<Vec<String>>
pub fn get_dns_ips(&self) -> &Option<Vec<String>>
A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory.
sourcepub fn build(self) -> SelfManagedActiveDirectoryConfiguration
pub fn build(self) -> SelfManagedActiveDirectoryConfiguration
Consumes the builder and constructs a SelfManagedActiveDirectoryConfiguration
.
Trait Implementations§
source§impl Clone for SelfManagedActiveDirectoryConfigurationBuilder
impl Clone for SelfManagedActiveDirectoryConfigurationBuilder
source§fn clone(&self) -> SelfManagedActiveDirectoryConfigurationBuilder
fn clone(&self) -> SelfManagedActiveDirectoryConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SelfManagedActiveDirectoryConfigurationBuilder
impl Default for SelfManagedActiveDirectoryConfigurationBuilder
source§fn default() -> SelfManagedActiveDirectoryConfigurationBuilder
fn default() -> SelfManagedActiveDirectoryConfigurationBuilder
source§impl PartialEq for SelfManagedActiveDirectoryConfigurationBuilder
impl PartialEq for SelfManagedActiveDirectoryConfigurationBuilder
source§fn eq(&self, other: &SelfManagedActiveDirectoryConfigurationBuilder) -> bool
fn eq(&self, other: &SelfManagedActiveDirectoryConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.