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

io.burkard.cdk.services.emr.cfnCluster.SpotProvisioningSpecificationProperty.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.emr.cfnCluster

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

  def apply(
    timeoutAction: String,
    timeoutDurationMinutes: Number,
    allocationStrategy: Option[String] = None,
    blockDurationMinutes: Option[Number] = None
  ): software.amazon.awscdk.services.emr.CfnCluster.SpotProvisioningSpecificationProperty =
    (new software.amazon.awscdk.services.emr.CfnCluster.SpotProvisioningSpecificationProperty.Builder)
      .timeoutAction(timeoutAction)
      .timeoutDurationMinutes(timeoutDurationMinutes)
      .allocationStrategy(allocationStrategy.orNull)
      .blockDurationMinutes(blockDurationMinutes.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy