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

io.burkard.cdk.services.sagemaker.cfnEndpoint.TrafficRoutingConfigProperty.scala Maven / Gradle / Ivy

package io.burkard.cdk.services.sagemaker.cfnEndpoint

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

  def apply(
    `type`: String,
    canarySize: Option[software.amazon.awscdk.services.sagemaker.CfnEndpoint.CapacitySizeProperty] = None,
    linearStepSize: Option[software.amazon.awscdk.services.sagemaker.CfnEndpoint.CapacitySizeProperty] = None,
    waitIntervalInSeconds: Option[Number] = None
  ): software.amazon.awscdk.services.sagemaker.CfnEndpoint.TrafficRoutingConfigProperty =
    (new software.amazon.awscdk.services.sagemaker.CfnEndpoint.TrafficRoutingConfigProperty.Builder)
      .`type`(`type`)
      .canarySize(canarySize.orNull)
      .linearStepSize(linearStepSize.orNull)
      .waitIntervalInSeconds(waitIntervalInSeconds.orNull)
      .build()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy