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