src.index.GtmDatacenterArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class GtmDatacenterArgs private(
city: besom.types.Output[scala.Option[String]],
cloneOf: besom.types.Output[scala.Option[Int]],
cloudServerHostHeaderOverride: besom.types.Output[scala.Option[Boolean]],
cloudServerTargeting: besom.types.Output[scala.Option[Boolean]],
continent: besom.types.Output[scala.Option[String]],
country: besom.types.Output[scala.Option[String]],
defaultLoadObject: besom.types.Output[scala.Option[besom.api.akamai.inputs.GtmDatacenterDefaultLoadObjectArgs]],
domain: besom.types.Output[String],
latitude: besom.types.Output[scala.Option[Double]],
longitude: besom.types.Output[scala.Option[Double]],
nickname: besom.types.Output[scala.Option[String]],
stateOrProvince: besom.types.Output[scala.Option[String]],
waitOnComplete: besom.types.Output[scala.Option[Boolean]]
)
object GtmDatacenterArgs:
def apply(
city: besom.types.Input.Optional[String] = scala.None,
cloneOf: besom.types.Input.Optional[Int] = scala.None,
cloudServerHostHeaderOverride: besom.types.Input.Optional[Boolean] = scala.None,
cloudServerTargeting: besom.types.Input.Optional[Boolean] = scala.None,
continent: besom.types.Input.Optional[String] = scala.None,
country: besom.types.Input.Optional[String] = scala.None,
defaultLoadObject: besom.types.Input.Optional[besom.api.akamai.inputs.GtmDatacenterDefaultLoadObjectArgs] = scala.None,
domain: besom.types.Input[String],
latitude: besom.types.Input.Optional[Double] = scala.None,
longitude: besom.types.Input.Optional[Double] = scala.None,
nickname: besom.types.Input.Optional[String] = scala.None,
stateOrProvince: besom.types.Input.Optional[String] = scala.None,
waitOnComplete: besom.types.Input.Optional[Boolean] = scala.None
)(using besom.types.Context): GtmDatacenterArgs =
new GtmDatacenterArgs(
city = city.asOptionOutput(isSecret = false),
cloneOf = cloneOf.asOptionOutput(isSecret = false),
cloudServerHostHeaderOverride = cloudServerHostHeaderOverride.asOptionOutput(isSecret = false),
cloudServerTargeting = cloudServerTargeting.asOptionOutput(isSecret = false),
continent = continent.asOptionOutput(isSecret = false),
country = country.asOptionOutput(isSecret = false),
defaultLoadObject = defaultLoadObject.asOptionOutput(isSecret = false),
domain = domain.asOutput(isSecret = false),
latitude = latitude.asOptionOutput(isSecret = false),
longitude = longitude.asOptionOutput(isSecret = false),
nickname = nickname.asOptionOutput(isSecret = false),
stateOrProvince = stateOrProvince.asOptionOutput(isSecret = false),
waitOnComplete = waitOnComplete.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[GtmDatacenterArgs] =
besom.internal.Encoder.derived[GtmDatacenterArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GtmDatacenterArgs] =
besom.internal.ArgsEncoder.derived[GtmDatacenterArgs]