io.burkard.cdk.services.route53.cfnHealthCheck.HealthCheckConfigProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.route53.cfnHealthCheck
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object HealthCheckConfigProperty {
def apply(
`type`: String,
healthThreshold: Option[Number] = None,
resourcePath: Option[String] = None,
enableSni: Option[Boolean] = None,
inverted: Option[Boolean] = None,
alarmIdentifier: Option[software.amazon.awscdk.services.route53.CfnHealthCheck.AlarmIdentifierProperty] = None,
childHealthChecks: Option[List[String]] = None,
requestInterval: Option[Number] = None,
failureThreshold: Option[Number] = None,
searchString: Option[String] = None,
regions: Option[List[String]] = None,
port: Option[Number] = None,
ipAddress: Option[String] = None,
insufficientDataHealthStatus: Option[String] = None,
routingControlArn: Option[String] = None,
fullyQualifiedDomainName: Option[String] = None,
measureLatency: Option[Boolean] = None
): software.amazon.awscdk.services.route53.CfnHealthCheck.HealthCheckConfigProperty =
(new software.amazon.awscdk.services.route53.CfnHealthCheck.HealthCheckConfigProperty.Builder)
.`type`(`type`)
.healthThreshold(healthThreshold.orNull)
.resourcePath(resourcePath.orNull)
.enableSni(enableSni.map(Boolean.box).orNull)
.inverted(inverted.map(Boolean.box).orNull)
.alarmIdentifier(alarmIdentifier.orNull)
.childHealthChecks(childHealthChecks.map(_.asJava).orNull)
.requestInterval(requestInterval.orNull)
.failureThreshold(failureThreshold.orNull)
.searchString(searchString.orNull)
.regions(regions.map(_.asJava).orNull)
.port(port.orNull)
.ipAddress(ipAddress.orNull)
.insufficientDataHealthStatus(insufficientDataHealthStatus.orNull)
.routingControlArn(routingControlArn.orNull)
.fullyQualifiedDomainName(fullyQualifiedDomainName.orNull)
.measureLatency(measureLatency.map(Boolean.box).orNull)
.build()
}