io.burkard.cdk.services.sam.EndpointConfigurationProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.sam
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object EndpointConfigurationProperty {
def apply(
`type`: Option[String] = None,
vpcEndpointIds: Option[List[String]] = None
): software.amazon.awscdk.services.sam.CfnApi.EndpointConfigurationProperty =
(new software.amazon.awscdk.services.sam.CfnApi.EndpointConfigurationProperty.Builder)
.`type`(`type`.orNull)
.vpcEndpointIds(vpcEndpointIds.map(_.asJava).orNull)
.build()
}