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

io.burkard.cdk.services.rds.cfnDBProxyTargetGroup.ConnectionPoolConfigurationInfoFormatProperty.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.rds.cfnDBProxyTargetGroup

import scala.collection.JavaConverters._

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

  def apply(
    maxConnectionsPercent: Option[Number] = None,
    maxIdleConnectionsPercent: Option[Number] = None,
    sessionPinningFilters: Option[List[String]] = None,
    initQuery: Option[String] = None,
    connectionBorrowTimeout: Option[Number] = None
  ): software.amazon.awscdk.services.rds.CfnDBProxyTargetGroup.ConnectionPoolConfigurationInfoFormatProperty =
    (new software.amazon.awscdk.services.rds.CfnDBProxyTargetGroup.ConnectionPoolConfigurationInfoFormatProperty.Builder)
      .maxConnectionsPercent(maxConnectionsPercent.orNull)
      .maxIdleConnectionsPercent(maxIdleConnectionsPercent.orNull)
      .sessionPinningFilters(sessionPinningFilters.map(_.asJava).orNull)
      .initQuery(initQuery.orNull)
      .connectionBorrowTimeout(connectionBorrowTimeout.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy