src.index.CloudwrapperConfigurationArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class CloudwrapperConfigurationArgs private(
capacityAlertsThreshold: besom.types.Output[scala.Option[Int]],
comments: besom.types.Output[String],
configName: besom.types.Output[String],
contractId: besom.types.Output[String],
locations: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.inputs.CloudwrapperConfigurationLocationArgs]]],
notificationEmails: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
propertyIds: besom.types.Output[scala.collection.immutable.List[String]],
retainIdleObjects: besom.types.Output[scala.Option[Boolean]],
timeouts: besom.types.Output[scala.Option[besom.api.akamai.inputs.CloudwrapperConfigurationTimeoutsArgs]]
)
object CloudwrapperConfigurationArgs:
def apply(
capacityAlertsThreshold: besom.types.Input.Optional[Int] = scala.None,
comments: besom.types.Input[String],
configName: besom.types.Input[String],
contractId: besom.types.Input[String],
locations: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.akamai.inputs.CloudwrapperConfigurationLocationArgs]]] = scala.None,
notificationEmails: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
propertyIds: besom.types.Input[scala.collection.immutable.List[besom.types.Input[String]]],
retainIdleObjects: besom.types.Input.Optional[Boolean] = scala.None,
timeouts: besom.types.Input.Optional[besom.api.akamai.inputs.CloudwrapperConfigurationTimeoutsArgs] = scala.None
)(using besom.types.Context): CloudwrapperConfigurationArgs =
new CloudwrapperConfigurationArgs(
capacityAlertsThreshold = capacityAlertsThreshold.asOptionOutput(isSecret = false),
comments = comments.asOutput(isSecret = false),
configName = configName.asOutput(isSecret = false),
contractId = contractId.asOutput(isSecret = false),
locations = locations.asOptionOutput(isSecret = false),
notificationEmails = notificationEmails.asOptionOutput(isSecret = false),
propertyIds = propertyIds.asOutput(isSecret = false),
retainIdleObjects = retainIdleObjects.asOptionOutput(isSecret = false),
timeouts = timeouts.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[CloudwrapperConfigurationArgs] =
besom.internal.Encoder.derived[CloudwrapperConfigurationArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[CloudwrapperConfigurationArgs] =
besom.internal.ArgsEncoder.derived[CloudwrapperConfigurationArgs]