io.burkard.cdk.services.fsx.cfnFileSystem.SelfManagedActiveDirectoryConfigurationProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.fsx.cfnFileSystem
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object SelfManagedActiveDirectoryConfigurationProperty {
def apply(
organizationalUnitDistinguishedName: Option[String] = None,
domainName: Option[String] = None,
fileSystemAdministratorsGroup: Option[String] = None,
userName: Option[String] = None,
dnsIps: Option[List[String]] = None,
password: Option[String] = None
): software.amazon.awscdk.services.fsx.CfnFileSystem.SelfManagedActiveDirectoryConfigurationProperty =
(new software.amazon.awscdk.services.fsx.CfnFileSystem.SelfManagedActiveDirectoryConfigurationProperty.Builder)
.organizationalUnitDistinguishedName(organizationalUnitDistinguishedName.orNull)
.domainName(domainName.orNull)
.fileSystemAdministratorsGroup(fileSystemAdministratorsGroup.orNull)
.userName(userName.orNull)
.dnsIps(dnsIps.map(_.asJava).orNull)
.password(password.orNull)
.build()
}