All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.index.CloudletsPolicyArgs.scala Maven / Gradle / Ivy

The newest version!
package besom.api.akamai

final case class CloudletsPolicyArgs private(
  cloudletCode: besom.types.Output[String],
  description: besom.types.Output[scala.Option[String]],
  groupId: besom.types.Output[String],
  isShared: besom.types.Output[scala.Option[Boolean]],
  matchRuleFormat: besom.types.Output[scala.Option[String]],
  matchRules: besom.types.Output[scala.Option[String]],
  name: besom.types.Output[scala.Option[String]],
  timeouts: besom.types.Output[scala.Option[besom.api.akamai.inputs.CloudletsPolicyTimeoutsArgs]]
)

object CloudletsPolicyArgs:
  def apply(
    cloudletCode: besom.types.Input[String],
    description: besom.types.Input.Optional[String] = scala.None,
    groupId: besom.types.Input[String],
    isShared: besom.types.Input.Optional[Boolean] = scala.None,
    matchRuleFormat: besom.types.Input.Optional[String] = scala.None,
    matchRules: besom.types.Input.Optional[String] = scala.None,
    name: besom.types.Input.Optional[String] = scala.None,
    timeouts: besom.types.Input.Optional[besom.api.akamai.inputs.CloudletsPolicyTimeoutsArgs] = scala.None
  )(using besom.types.Context): CloudletsPolicyArgs =
    new CloudletsPolicyArgs(
      cloudletCode = cloudletCode.asOutput(isSecret = false),
      description = description.asOptionOutput(isSecret = false),
      groupId = groupId.asOutput(isSecret = false),
      isShared = isShared.asOptionOutput(isSecret = false),
      matchRuleFormat = matchRuleFormat.asOptionOutput(isSecret = false),
      matchRules = matchRules.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      timeouts = timeouts.asOptionOutput(isSecret = false)
    )

  given encoder(using besom.types.Context): besom.types.Encoder[CloudletsPolicyArgs] =
    besom.internal.Encoder.derived[CloudletsPolicyArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[CloudletsPolicyArgs] =
    besom.internal.ArgsEncoder.derived[CloudletsPolicyArgs]






© 2015 - 2024 Weber Informatics LLC | Privacy Policy