src.index.EdgeHostNameArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class EdgeHostNameArgs private(
certificate: besom.types.Output[scala.Option[Int]],
contractId: besom.types.Output[String],
edgeHostname: besom.types.Output[String],
groupId: besom.types.Output[String],
ipBehavior: besom.types.Output[String],
productId: besom.types.Output[scala.Option[String]],
statusUpdateEmails: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
timeouts: besom.types.Output[scala.Option[besom.api.akamai.inputs.EdgeHostNameTimeoutsArgs]],
useCases: besom.types.Output[scala.Option[String]]
)
object EdgeHostNameArgs:
def apply(
certificate: besom.types.Input.Optional[Int] = scala.None,
contractId: besom.types.Input[String],
edgeHostname: besom.types.Input[String],
groupId: besom.types.Input[String],
ipBehavior: besom.types.Input[String],
productId: besom.types.Input.Optional[String] = scala.None,
statusUpdateEmails: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
timeouts: besom.types.Input.Optional[besom.api.akamai.inputs.EdgeHostNameTimeoutsArgs] = scala.None,
useCases: besom.types.Input.Optional[String] = scala.None
)(using besom.types.Context): EdgeHostNameArgs =
new EdgeHostNameArgs(
certificate = certificate.asOptionOutput(isSecret = false),
contractId = contractId.asOutput(isSecret = false),
edgeHostname = edgeHostname.asOutput(isSecret = false),
groupId = groupId.asOutput(isSecret = false),
ipBehavior = ipBehavior.asOutput(isSecret = false),
productId = productId.asOptionOutput(isSecret = false),
statusUpdateEmails = statusUpdateEmails.asOptionOutput(isSecret = false),
timeouts = timeouts.asOptionOutput(isSecret = false),
useCases = useCases.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[EdgeHostNameArgs] =
besom.internal.Encoder.derived[EdgeHostNameArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[EdgeHostNameArgs] =
besom.internal.ArgsEncoder.derived[EdgeHostNameArgs]