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