io.burkard.cdk.services.transfer.cfnServer.EndpointDetailsProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.transfer.cfnServer
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object EndpointDetailsProperty {
def apply(
subnetIds: Option[List[String]] = None,
addressAllocationIds: Option[List[String]] = None,
vpcId: Option[String] = None,
securityGroupIds: Option[List[String]] = None,
vpcEndpointId: Option[String] = None
): software.amazon.awscdk.services.transfer.CfnServer.EndpointDetailsProperty =
(new software.amazon.awscdk.services.transfer.CfnServer.EndpointDetailsProperty.Builder)
.subnetIds(subnetIds.map(_.asJava).orNull)
.addressAllocationIds(addressAllocationIds.map(_.asJava).orNull)
.vpcId(vpcId.orNull)
.securityGroupIds(securityGroupIds.map(_.asJava).orNull)
.vpcEndpointId(vpcEndpointId.orNull)
.build()
}