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

src.index.inputs.CloudletsApplicationLoadBalancerLivenessSettingsArgs.scala Maven / Gradle / Ivy

The newest version!
package besom.api.akamai.inputs

final case class CloudletsApplicationLoadBalancerLivenessSettingsArgs private(
  additionalHeaders: besom.types.Output[scala.Option[scala.Predef.Map[String, String]]],
  hostHeader: besom.types.Output[scala.Option[String]],
  interval: besom.types.Output[scala.Option[Int]],
  path: besom.types.Output[String],
  peerCertificateVerification: besom.types.Output[scala.Option[Boolean]],
  port: besom.types.Output[Int],
  protocol: besom.types.Output[String],
  requestString: besom.types.Output[scala.Option[String]],
  responseString: besom.types.Output[scala.Option[String]],
  status3xxFailure: besom.types.Output[scala.Option[Boolean]],
  status4xxFailure: besom.types.Output[scala.Option[Boolean]],
  status5xxFailure: besom.types.Output[scala.Option[Boolean]],
  timeout: besom.types.Output[scala.Option[Double]]
)

object CloudletsApplicationLoadBalancerLivenessSettingsArgs:
  def apply(
    additionalHeaders: besom.types.Input.Optional[scala.Predef.Map[String, besom.types.Input[String]]] = scala.None,
    hostHeader: besom.types.Input.Optional[String] = scala.None,
    interval: besom.types.Input.Optional[Int] = scala.None,
    path: besom.types.Input[String],
    peerCertificateVerification: besom.types.Input.Optional[Boolean] = scala.None,
    port: besom.types.Input[Int],
    protocol: besom.types.Input[String],
    requestString: besom.types.Input.Optional[String] = scala.None,
    responseString: besom.types.Input.Optional[String] = scala.None,
    status3xxFailure: besom.types.Input.Optional[Boolean] = scala.None,
    status4xxFailure: besom.types.Input.Optional[Boolean] = scala.None,
    status5xxFailure: besom.types.Input.Optional[Boolean] = scala.None,
    timeout: besom.types.Input.Optional[Double] = scala.None
  )(using besom.types.Context): CloudletsApplicationLoadBalancerLivenessSettingsArgs =
    new CloudletsApplicationLoadBalancerLivenessSettingsArgs(
      additionalHeaders = additionalHeaders.asOptionOutput(isSecret = false),
      hostHeader = hostHeader.asOptionOutput(isSecret = false),
      interval = interval.asOptionOutput(isSecret = false),
      path = path.asOutput(isSecret = false),
      peerCertificateVerification = peerCertificateVerification.asOptionOutput(isSecret = false),
      port = port.asOutput(isSecret = false),
      protocol = protocol.asOutput(isSecret = false),
      requestString = requestString.asOptionOutput(isSecret = false),
      responseString = responseString.asOptionOutput(isSecret = false),
      status3xxFailure = status3xxFailure.asOptionOutput(isSecret = false),
      status4xxFailure = status4xxFailure.asOptionOutput(isSecret = false),
      status5xxFailure = status5xxFailure.asOptionOutput(isSecret = false),
      timeout = timeout.asOptionOutput(isSecret = false)
    )

  given encoder(using besom.types.Context): besom.types.Encoder[CloudletsApplicationLoadBalancerLivenessSettingsArgs] =
    besom.internal.Encoder.derived[CloudletsApplicationLoadBalancerLivenessSettingsArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[CloudletsApplicationLoadBalancerLivenessSettingsArgs] =
    besom.internal.ArgsEncoder.derived[CloudletsApplicationLoadBalancerLivenessSettingsArgs]






© 2015 - 2024 Weber Informatics LLC | Privacy Policy