Class CfnStorageVirtualMachine.SelfManagedActiveDirectoryConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.fsx.CfnStorageVirtualMachine.SelfManagedActiveDirectoryConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStorageVirtualMachine.SelfManagedActiveDirectoryConfigurationProperty>
- Enclosing interface:
CfnStorageVirtualMachine.SelfManagedActiveDirectoryConfigurationProperty
@Stability(Stable)
public static final class CfnStorageVirtualMachine.SelfManagedActiveDirectoryConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStorageVirtualMachine.SelfManagedActiveDirectoryConfigurationProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.domainName
(String domainName) fileSystemAdministratorsGroup
(String fileSystemAdministratorsGroup) organizationalUnitDistinguishedName
(String organizationalUnitDistinguishedName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dnsIps
@Stability(Stable) public CfnStorageVirtualMachine.SelfManagedActiveDirectoryConfigurationProperty.Builder dnsIps(List<String> dnsIps) Sets the value ofCfnStorageVirtualMachine.SelfManagedActiveDirectoryConfigurationProperty.getDnsIps()
- Parameters:
dnsIps
- A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory.- Returns:
this
-
domainName
@Stability(Stable) public CfnStorageVirtualMachine.SelfManagedActiveDirectoryConfigurationProperty.Builder domainName(String domainName) Sets the value ofCfnStorageVirtualMachine.SelfManagedActiveDirectoryConfigurationProperty.getDomainName()
- Parameters:
domainName
- The fully qualified domain name of the self-managed AD directory, such ascorp.example.com
.- Returns:
this
-
fileSystemAdministratorsGroup
@Stability(Stable) public CfnStorageVirtualMachine.SelfManagedActiveDirectoryConfigurationProperty.Builder fileSystemAdministratorsGroup(String fileSystemAdministratorsGroup) Sets the value ofCfnStorageVirtualMachine.SelfManagedActiveDirectoryConfigurationProperty.getFileSystemAdministratorsGroup()
- Parameters:
fileSystemAdministratorsGroup
- (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.- Returns:
this
-
organizationalUnitDistinguishedName
@Stability(Stable) public CfnStorageVirtualMachine.SelfManagedActiveDirectoryConfigurationProperty.Builder organizationalUnitDistinguishedName(String organizationalUnitDistinguishedName) Sets the value ofCfnStorageVirtualMachine.SelfManagedActiveDirectoryConfigurationProperty.getOrganizationalUnitDistinguishedName()
- Parameters:
organizationalUnitDistinguishedName
- (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 isOU=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.
- Returns:
this
-
password
@Stability(Stable) public CfnStorageVirtualMachine.SelfManagedActiveDirectoryConfigurationProperty.Builder password(String password) Sets the value ofCfnStorageVirtualMachine.SelfManagedActiveDirectoryConfigurationProperty.getPassword()
- Parameters:
password
- The password for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain.- Returns:
this
-
userName
@Stability(Stable) public CfnStorageVirtualMachine.SelfManagedActiveDirectoryConfigurationProperty.Builder userName(String userName) Sets the value ofCfnStorageVirtualMachine.SelfManagedActiveDirectoryConfigurationProperty.getUserName()
- Parameters:
userName
- 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 inOrganizationalUnitDistinguishedName
, or in the default location of your AD domain.- Returns:
this
-
build
@Stability(Stable) public CfnStorageVirtualMachine.SelfManagedActiveDirectoryConfigurationProperty build()Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStorageVirtualMachine.SelfManagedActiveDirectoryConfigurationProperty>
- Returns:
- a new instance of
CfnStorageVirtualMachine.SelfManagedActiveDirectoryConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-