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