src.index.inputs.CloudletsApplicationLoadBalancerDataCenterArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai.inputs
final case class CloudletsApplicationLoadBalancerDataCenterArgs private(
city: besom.types.Output[scala.Option[String]],
cloudServerHostHeaderOverride: besom.types.Output[scala.Option[Boolean]],
cloudService: besom.types.Output[scala.Option[Boolean]],
continent: besom.types.Output[String],
country: besom.types.Output[String],
hostname: besom.types.Output[scala.Option[String]],
latitude: besom.types.Output[Double],
livenessHosts: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
longitude: besom.types.Output[Double],
originId: besom.types.Output[String],
percent: besom.types.Output[Double],
stateOrProvince: besom.types.Output[scala.Option[String]]
)
object CloudletsApplicationLoadBalancerDataCenterArgs:
def apply(
city: besom.types.Input.Optional[String] = scala.None,
cloudServerHostHeaderOverride: besom.types.Input.Optional[Boolean] = scala.None,
cloudService: besom.types.Input.Optional[Boolean] = scala.None,
continent: besom.types.Input[String],
country: besom.types.Input[String],
hostname: besom.types.Input.Optional[String] = scala.None,
latitude: besom.types.Input[Double],
livenessHosts: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
longitude: besom.types.Input[Double],
originId: besom.types.Input[String],
percent: besom.types.Input[Double],
stateOrProvince: besom.types.Input.Optional[String] = scala.None
)(using besom.types.Context): CloudletsApplicationLoadBalancerDataCenterArgs =
new CloudletsApplicationLoadBalancerDataCenterArgs(
city = city.asOptionOutput(isSecret = false),
cloudServerHostHeaderOverride = cloudServerHostHeaderOverride.asOptionOutput(isSecret = false),
cloudService = cloudService.asOptionOutput(isSecret = false),
continent = continent.asOutput(isSecret = false),
country = country.asOutput(isSecret = false),
hostname = hostname.asOptionOutput(isSecret = false),
latitude = latitude.asOutput(isSecret = false),
livenessHosts = livenessHosts.asOptionOutput(isSecret = false),
longitude = longitude.asOutput(isSecret = false),
originId = originId.asOutput(isSecret = false),
percent = percent.asOutput(isSecret = false),
stateOrProvince = stateOrProvince.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[CloudletsApplicationLoadBalancerDataCenterArgs] =
besom.internal.Encoder.derived[CloudletsApplicationLoadBalancerDataCenterArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[CloudletsApplicationLoadBalancerDataCenterArgs] =
besom.internal.ArgsEncoder.derived[CloudletsApplicationLoadBalancerDataCenterArgs]