io.burkard.cdk.services.globalaccelerator.endpoints.InstanceEndpointProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.globalaccelerator.endpoints
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object InstanceEndpointProps {
def apply(
preserveClientIp: Option[Boolean] = None,
weight: Option[Number] = None
): software.amazon.awscdk.services.globalaccelerator.endpoints.InstanceEndpointProps =
(new software.amazon.awscdk.services.globalaccelerator.endpoints.InstanceEndpointProps.Builder)
.preserveClientIp(preserveClientIp.map(Boolean.box).orNull)
.weight(weight.orNull)
.build()
}