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

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

The newest version!
package besom.api.akamai

final case class DnsZoneArgs private(
  comment: besom.types.Output[scala.Option[String]],
  contract: besom.types.Output[String],
  endCustomerId: besom.types.Output[scala.Option[String]],
  group: besom.types.Output[scala.Option[String]],
  masters: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
  signAndServe: besom.types.Output[scala.Option[Boolean]],
  signAndServeAlgorithm: besom.types.Output[scala.Option[String]],
  target: besom.types.Output[scala.Option[String]],
  tsigKey: besom.types.Output[scala.Option[besom.api.akamai.inputs.DnsZoneTsigKeyArgs]],
  `type`: besom.types.Output[String],
  zone: besom.types.Output[String]
)

object DnsZoneArgs:
  def apply(
    comment: besom.types.Input.Optional[String] = scala.None,
    contract: besom.types.Input[String],
    endCustomerId: besom.types.Input.Optional[String] = scala.None,
    group: besom.types.Input.Optional[String] = scala.None,
    masters: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
    signAndServe: besom.types.Input.Optional[Boolean] = scala.None,
    signAndServeAlgorithm: besom.types.Input.Optional[String] = scala.None,
    target: besom.types.Input.Optional[String] = scala.None,
    tsigKey: besom.types.Input.Optional[besom.api.akamai.inputs.DnsZoneTsigKeyArgs] = scala.None,
    `type`: besom.types.Input[String],
    zone: besom.types.Input[String]
  )(using besom.types.Context): DnsZoneArgs =
    new DnsZoneArgs(
      comment = comment.asOptionOutput(isSecret = false),
      contract = contract.asOutput(isSecret = false),
      endCustomerId = endCustomerId.asOptionOutput(isSecret = false),
      group = group.asOptionOutput(isSecret = false),
      masters = masters.asOptionOutput(isSecret = false),
      signAndServe = signAndServe.asOptionOutput(isSecret = false),
      signAndServeAlgorithm = signAndServeAlgorithm.asOptionOutput(isSecret = false),
      target = target.asOptionOutput(isSecret = false),
      tsigKey = tsigKey.asOptionOutput(isSecret = false),
      `type` = `type`.asOutput(isSecret = false),
      zone = zone.asOutput(isSecret = false)
    )

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy