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

io.burkard.cdk.services.rds.cfnOptionGroup.OptionConfigurationProperty.scala Maven / Gradle / Ivy

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

import scala.collection.JavaConverters._

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

  def apply(
    optionName: String,
    vpcSecurityGroupMemberships: Option[List[String]] = None,
    port: Option[Number] = None,
    optionSettings: Option[List[_]] = None,
    dbSecurityGroupMemberships: Option[List[String]] = None,
    optionVersion: Option[String] = None
  ): software.amazon.awscdk.services.rds.CfnOptionGroup.OptionConfigurationProperty =
    (new software.amazon.awscdk.services.rds.CfnOptionGroup.OptionConfigurationProperty.Builder)
      .optionName(optionName)
      .vpcSecurityGroupMemberships(vpcSecurityGroupMemberships.map(_.asJava).orNull)
      .port(port.orNull)
      .optionSettings(optionSettings.map(_.asJava).orNull)
      .dbSecurityGroupMemberships(dbSecurityGroupMemberships.map(_.asJava).orNull)
      .optionVersion(optionVersion.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy