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