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