io.burkard.cdk.services.ec2.cfnSpotFleet.LoadBalancersConfigProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.ec2.cfnSpotFleet
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object LoadBalancersConfigProperty {
def apply(
classicLoadBalancersConfig: Option[software.amazon.awscdk.services.ec2.CfnSpotFleet.ClassicLoadBalancersConfigProperty] = None,
targetGroupsConfig: Option[software.amazon.awscdk.services.ec2.CfnSpotFleet.TargetGroupsConfigProperty] = None
): software.amazon.awscdk.services.ec2.CfnSpotFleet.LoadBalancersConfigProperty =
(new software.amazon.awscdk.services.ec2.CfnSpotFleet.LoadBalancersConfigProperty.Builder)
.classicLoadBalancersConfig(classicLoadBalancersConfig.orNull)
.targetGroupsConfig(targetGroupsConfig.orNull)
.build()
}