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

io.burkard.cdk.services.gamelift.CfnMatchmakingConfigurationProps.scala Maven / Gradle / Ivy

package io.burkard.cdk.services.gamelift

import scala.collection.JavaConverters._

@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnMatchmakingConfigurationProps {

  def apply(
    name: String,
    ruleSetName: String,
    requestTimeoutSeconds: Number,
    acceptanceRequired: Boolean,
    gameSessionQueueArns: Option[List[String]] = None,
    flexMatchMode: Option[String] = None,
    backfillMode: Option[String] = None,
    description: Option[String] = None,
    tags: Option[List[_ <: software.amazon.awscdk.CfnTag]] = None,
    additionalPlayerCount: Option[Number] = None,
    gameProperties: Option[List[_]] = None,
    customEventData: Option[String] = None,
    gameSessionData: Option[String] = None,
    notificationTarget: Option[String] = None,
    acceptanceTimeoutSeconds: Option[Number] = None
  ): software.amazon.awscdk.services.gamelift.CfnMatchmakingConfigurationProps =
    (new software.amazon.awscdk.services.gamelift.CfnMatchmakingConfigurationProps.Builder)
      .name(name)
      .ruleSetName(ruleSetName)
      .requestTimeoutSeconds(requestTimeoutSeconds)
      .acceptanceRequired(acceptanceRequired)
      .gameSessionQueueArns(gameSessionQueueArns.map(_.asJava).orNull)
      .flexMatchMode(flexMatchMode.orNull)
      .backfillMode(backfillMode.orNull)
      .description(description.orNull)
      .tags(tags.map(_.asJava).orNull)
      .additionalPlayerCount(additionalPlayerCount.orNull)
      .gameProperties(gameProperties.map(_.asJava).orNull)
      .customEventData(customEventData.orNull)
      .gameSessionData(gameSessionData.orNull)
      .notificationTarget(notificationTarget.orNull)
      .acceptanceTimeoutSeconds(acceptanceTimeoutSeconds.orNull)
      .build()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy