io.burkard.cdk.services.datasync.CfnLocationSMBProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.datasync
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnLocationSMBProps {
def apply(
agentArns: List[String],
serverHostname: String,
subdirectory: String,
user: String,
password: String,
mountOptions: Option[software.amazon.awscdk.services.datasync.CfnLocationSMB.MountOptionsProperty] = None,
tags: Option[List[_ <: software.amazon.awscdk.CfnTag]] = None,
domain: Option[String] = None
): software.amazon.awscdk.services.datasync.CfnLocationSMBProps =
(new software.amazon.awscdk.services.datasync.CfnLocationSMBProps.Builder)
.agentArns(agentArns.asJava)
.serverHostname(serverHostname)
.subdirectory(subdirectory)
.user(user)
.password(password)
.mountOptions(mountOptions.orNull)
.tags(tags.map(_.asJava).orNull)
.domain(domain.orNull)
.build()
}