src.index.AppSecConfigurationArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class AppSecConfigurationArgs private(
contractId: besom.types.Output[String],
createFromConfigId: besom.types.Output[scala.Option[Int]],
createFromVersion: besom.types.Output[scala.Option[Int]],
description: besom.types.Output[String],
groupId: besom.types.Output[Int],
hostNames: besom.types.Output[scala.collection.immutable.List[String]],
name: besom.types.Output[scala.Option[String]]
)
object AppSecConfigurationArgs:
def apply(
contractId: besom.types.Input[String],
createFromConfigId: besom.types.Input.Optional[Int] = scala.None,
createFromVersion: besom.types.Input.Optional[Int] = scala.None,
description: besom.types.Input[String],
groupId: besom.types.Input[Int],
hostNames: besom.types.Input[scala.collection.immutable.List[besom.types.Input[String]]],
name: besom.types.Input.Optional[String] = scala.None
)(using besom.types.Context): AppSecConfigurationArgs =
new AppSecConfigurationArgs(
contractId = contractId.asOutput(isSecret = false),
createFromConfigId = createFromConfigId.asOptionOutput(isSecret = false),
createFromVersion = createFromVersion.asOptionOutput(isSecret = false),
description = description.asOutput(isSecret = false),
groupId = groupId.asOutput(isSecret = false),
hostNames = hostNames.asOutput(isSecret = false),
name = name.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[AppSecConfigurationArgs] =
besom.internal.Encoder.derived[AppSecConfigurationArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[AppSecConfigurationArgs] =
besom.internal.ArgsEncoder.derived[AppSecConfigurationArgs]