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

io.burkard.cdk.services.appmesh.HttpHealthCheckOptions.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.appmesh

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

  def apply(
    path: Option[String] = None,
    healthyThreshold: Option[Number] = None,
    unhealthyThreshold: Option[Number] = None,
    interval: Option[software.amazon.awscdk.Duration] = None,
    timeout: Option[software.amazon.awscdk.Duration] = None
  ): software.amazon.awscdk.services.appmesh.HttpHealthCheckOptions =
    (new software.amazon.awscdk.services.appmesh.HttpHealthCheckOptions.Builder)
      .path(path.orNull)
      .healthyThreshold(healthyThreshold.orNull)
      .unhealthyThreshold(unhealthyThreshold.orNull)
      .interval(interval.orNull)
      .timeout(timeout.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy