io.burkard.cdk.services.ec2.CfnVPCEndpointServiceProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.ec2
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnVPCEndpointServiceProps {
def apply(
gatewayLoadBalancerArns: Option[List[String]] = None,
payerResponsibility: Option[String] = None,
contributorInsightsEnabled: Option[Boolean] = None,
networkLoadBalancerArns: Option[List[String]] = None,
acceptanceRequired: Option[Boolean] = None
): software.amazon.awscdk.services.ec2.CfnVPCEndpointServiceProps =
(new software.amazon.awscdk.services.ec2.CfnVPCEndpointServiceProps.Builder)
.gatewayLoadBalancerArns(gatewayLoadBalancerArns.map(_.asJava).orNull)
.payerResponsibility(payerResponsibility.orNull)
.contributorInsightsEnabled(contributorInsightsEnabled.map(Boolean.box).orNull)
.networkLoadBalancerArns(networkLoadBalancerArns.map(_.asJava).orNull)
.acceptanceRequired(acceptanceRequired.map(Boolean.box).orNull)
.build()
}