All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.services.ec2.cfnEC2Fleet.TargetCapacitySpecificationRequestProperty.scala Maven / Gradle / Ivy

package io.burkard.cdk.services.ec2.cfnEC2Fleet

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object TargetCapacitySpecificationRequestProperty {

  def apply(
    totalTargetCapacity: Number,
    onDemandTargetCapacity: Option[Number] = None,
    defaultTargetCapacityType: Option[String] = None,
    spotTargetCapacity: Option[Number] = None,
    targetCapacityUnitType: Option[String] = None
  ): software.amazon.awscdk.services.ec2.CfnEC2Fleet.TargetCapacitySpecificationRequestProperty =
    (new software.amazon.awscdk.services.ec2.CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder)
      .totalTargetCapacity(totalTargetCapacity)
      .onDemandTargetCapacity(onDemandTargetCapacity.orNull)
      .defaultTargetCapacityType(defaultTargetCapacityType.orNull)
      .spotTargetCapacity(spotTargetCapacity.orNull)
      .targetCapacityUnitType(targetCapacityUnitType.orNull)
      .build()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy