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