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