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

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

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

final case class PropertyHostnameArgs private(
  certProvisioningType: besom.types.Output[String],
  certStatuses: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.inputs.PropertyHostnameCertStatusArgs]]],
  cnameFrom: besom.types.Output[String],
  cnameTo: besom.types.Output[String],
  cnameType: besom.types.Output[scala.Option[String]],
  edgeHostnameId: besom.types.Output[scala.Option[String]]
)

object PropertyHostnameArgs:
  def apply(
    certProvisioningType: besom.types.Input[String],
    certStatuses: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.akamai.inputs.PropertyHostnameCertStatusArgs]]] = scala.None,
    cnameFrom: besom.types.Input[String],
    cnameTo: besom.types.Input[String],
    cnameType: besom.types.Input.Optional[String] = scala.None,
    edgeHostnameId: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): PropertyHostnameArgs =
    new PropertyHostnameArgs(
      certProvisioningType = certProvisioningType.asOutput(isSecret = false),
      certStatuses = certStatuses.asOptionOutput(isSecret = false),
      cnameFrom = cnameFrom.asOutput(isSecret = false),
      cnameTo = cnameTo.asOutput(isSecret = false),
      cnameType = cnameType.asOptionOutput(isSecret = false),
      edgeHostnameId = edgeHostnameId.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy