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

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

The newest version!
package besom.api.akamai

final case class CloudletsPolicyActivationArgs private(
  associatedProperties: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
  network: besom.types.Output[String],
  policyId: besom.types.Output[Int],
  timeouts: besom.types.Output[scala.Option[besom.api.akamai.inputs.CloudletsPolicyActivationTimeoutsArgs]],
  version: besom.types.Output[Int]
)

object CloudletsPolicyActivationArgs:
  def apply(
    associatedProperties: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
    network: besom.types.Input[String],
    policyId: besom.types.Input[Int],
    timeouts: besom.types.Input.Optional[besom.api.akamai.inputs.CloudletsPolicyActivationTimeoutsArgs] = scala.None,
    version: besom.types.Input[Int]
  )(using besom.types.Context): CloudletsPolicyActivationArgs =
    new CloudletsPolicyActivationArgs(
      associatedProperties = associatedProperties.asOptionOutput(isSecret = false),
      network = network.asOutput(isSecret = false),
      policyId = policyId.asOutput(isSecret = false),
      timeouts = timeouts.asOptionOutput(isSecret = false),
      version = version.asOutput(isSecret = false)
    )

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy