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

src.index.AppSecWapSelectedHostnamesArgs.scala Maven / Gradle / Ivy

The newest version!
package besom.api.akamai

final case class AppSecWapSelectedHostnamesArgs private(
  configId: besom.types.Output[Int],
  evaluatedHosts: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
  protectedHosts: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
  securityPolicyId: besom.types.Output[String]
)

object AppSecWapSelectedHostnamesArgs:
  def apply(
    configId: besom.types.Input[Int],
    evaluatedHosts: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
    protectedHosts: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
    securityPolicyId: besom.types.Input[String]
  )(using besom.types.Context): AppSecWapSelectedHostnamesArgs =
    new AppSecWapSelectedHostnamesArgs(
      configId = configId.asOutput(isSecret = false),
      evaluatedHosts = evaluatedHosts.asOptionOutput(isSecret = false),
      protectedHosts = protectedHosts.asOptionOutput(isSecret = false),
      securityPolicyId = securityPolicyId.asOutput(isSecret = false)
    )

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy