src.index.GtmResourceArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class GtmResourceArgs private(
aggregationType: besom.types.Output[String],
constrainedProperty: besom.types.Output[scala.Option[String]],
decayRate: besom.types.Output[scala.Option[Double]],
description: besom.types.Output[scala.Option[String]],
domain: besom.types.Output[String],
hostHeader: besom.types.Output[scala.Option[String]],
leaderString: besom.types.Output[scala.Option[String]],
leastSquaresDecay: besom.types.Output[scala.Option[Double]],
loadImbalancePercentage: besom.types.Output[scala.Option[Double]],
maxUMultiplicativeIncrement: besom.types.Output[scala.Option[Double]],
name: besom.types.Output[scala.Option[String]],
resourceInstances: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.inputs.GtmResourceResourceInstanceArgs]]],
`type`: besom.types.Output[String],
upperBound: besom.types.Output[scala.Option[Int]],
waitOnComplete: besom.types.Output[scala.Option[Boolean]]
)
object GtmResourceArgs:
def apply(
aggregationType: besom.types.Input[String],
constrainedProperty: besom.types.Input.Optional[String] = scala.None,
decayRate: besom.types.Input.Optional[Double] = scala.None,
description: besom.types.Input.Optional[String] = scala.None,
domain: besom.types.Input[String],
hostHeader: besom.types.Input.Optional[String] = scala.None,
leaderString: besom.types.Input.Optional[String] = scala.None,
leastSquaresDecay: besom.types.Input.Optional[Double] = scala.None,
loadImbalancePercentage: besom.types.Input.Optional[Double] = scala.None,
maxUMultiplicativeIncrement: besom.types.Input.Optional[Double] = scala.None,
name: besom.types.Input.Optional[String] = scala.None,
resourceInstances: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.akamai.inputs.GtmResourceResourceInstanceArgs]]] = scala.None,
`type`: besom.types.Input[String],
upperBound: besom.types.Input.Optional[Int] = scala.None,
waitOnComplete: besom.types.Input.Optional[Boolean] = scala.None
)(using besom.types.Context): GtmResourceArgs =
new GtmResourceArgs(
aggregationType = aggregationType.asOutput(isSecret = false),
constrainedProperty = constrainedProperty.asOptionOutput(isSecret = false),
decayRate = decayRate.asOptionOutput(isSecret = false),
description = description.asOptionOutput(isSecret = false),
domain = domain.asOutput(isSecret = false),
hostHeader = hostHeader.asOptionOutput(isSecret = false),
leaderString = leaderString.asOptionOutput(isSecret = false),
leastSquaresDecay = leastSquaresDecay.asOptionOutput(isSecret = false),
loadImbalancePercentage = loadImbalancePercentage.asOptionOutput(isSecret = false),
maxUMultiplicativeIncrement = maxUMultiplicativeIncrement.asOptionOutput(isSecret = false),
name = name.asOptionOutput(isSecret = false),
resourceInstances = resourceInstances.asOptionOutput(isSecret = false),
`type` = `type`.asOutput(isSecret = false),
upperBound = upperBound.asOptionOutput(isSecret = false),
waitOnComplete = waitOnComplete.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[GtmResourceArgs] =
besom.internal.Encoder.derived[GtmResourceArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GtmResourceArgs] =
besom.internal.ArgsEncoder.derived[GtmResourceArgs]