src.index.AppSecMalwareProtectionArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class AppSecMalwareProtectionArgs private(
configId: besom.types.Output[Int],
enabled: besom.types.Output[Boolean],
securityPolicyId: besom.types.Output[String]
)
object AppSecMalwareProtectionArgs:
def apply(
configId: besom.types.Input[Int],
enabled: besom.types.Input[Boolean],
securityPolicyId: besom.types.Input[String]
)(using besom.types.Context): AppSecMalwareProtectionArgs =
new AppSecMalwareProtectionArgs(
configId = configId.asOutput(isSecret = false),
enabled = enabled.asOutput(isSecret = false),
securityPolicyId = securityPolicyId.asOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[AppSecMalwareProtectionArgs] =
besom.internal.Encoder.derived[AppSecMalwareProtectionArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[AppSecMalwareProtectionArgs] =
besom.internal.ArgsEncoder.derived[AppSecMalwareProtectionArgs]