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

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

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

final case class GtmResourceResourceInstanceArgs private(
  datacenterId: besom.types.Output[Int],
  loadObject: besom.types.Output[scala.Option[String]],
  loadObjectPort: besom.types.Output[scala.Option[Int]],
  loadServers: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
  useDefaultLoadObject: besom.types.Output[scala.Option[Boolean]]
)

object GtmResourceResourceInstanceArgs:
  def apply(
    datacenterId: besom.types.Input[Int],
    loadObject: besom.types.Input.Optional[String] = scala.None,
    loadObjectPort: besom.types.Input.Optional[Int] = scala.None,
    loadServers: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
    useDefaultLoadObject: besom.types.Input.Optional[Boolean] = scala.None
  )(using besom.types.Context): GtmResourceResourceInstanceArgs =
    new GtmResourceResourceInstanceArgs(
      datacenterId = datacenterId.asOutput(isSecret = false),
      loadObject = loadObject.asOptionOutput(isSecret = false),
      loadObjectPort = loadObjectPort.asOptionOutput(isSecret = false),
      loadServers = loadServers.asOptionOutput(isSecret = false),
      useDefaultLoadObject = useDefaultLoadObject.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy