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

io.burkard.cdk.services.appmesh.cfnVirtualNode.OutlierDetectionProperty.scala Maven / Gradle / Ivy

package io.burkard.cdk.services.appmesh.cfnVirtualNode

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

  def apply(
    interval: software.amazon.awscdk.services.appmesh.CfnVirtualNode.DurationProperty,
    baseEjectionDuration: software.amazon.awscdk.services.appmesh.CfnVirtualNode.DurationProperty,
    maxEjectionPercent: Number,
    maxServerErrors: Number
  ): software.amazon.awscdk.services.appmesh.CfnVirtualNode.OutlierDetectionProperty =
    (new software.amazon.awscdk.services.appmesh.CfnVirtualNode.OutlierDetectionProperty.Builder)
      .interval(interval)
      .baseEjectionDuration(baseEjectionDuration)
      .maxEjectionPercent(maxEjectionPercent)
      .maxServerErrors(maxServerErrors)
      .build()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy