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

io.burkard.cdk.services.ec2.CfnIPAMPoolProps.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.ec2

import scala.collection.JavaConverters._

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

  def apply(
    ipamScopeId: String,
    addressFamily: String,
    sourceIpamPoolId: Option[String] = None,
    description: Option[String] = None,
    tags: Option[List[_ <: software.amazon.awscdk.CfnTag]] = None,
    allocationResourceTags: Option[List[_]] = None,
    locale: Option[String] = None,
    provisionedCidrs: Option[List[_]] = None,
    allocationDefaultNetmaskLength: Option[Number] = None,
    publiclyAdvertisable: Option[Boolean] = None,
    autoImport: Option[Boolean] = None,
    allocationMinNetmaskLength: Option[Number] = None,
    allocationMaxNetmaskLength: Option[Number] = None
  ): software.amazon.awscdk.services.ec2.CfnIPAMPoolProps =
    (new software.amazon.awscdk.services.ec2.CfnIPAMPoolProps.Builder)
      .ipamScopeId(ipamScopeId)
      .addressFamily(addressFamily)
      .sourceIpamPoolId(sourceIpamPoolId.orNull)
      .description(description.orNull)
      .tags(tags.map(_.asJava).orNull)
      .allocationResourceTags(allocationResourceTags.map(_.asJava).orNull)
      .locale(locale.orNull)
      .provisionedCidrs(provisionedCidrs.map(_.asJava).orNull)
      .allocationDefaultNetmaskLength(allocationDefaultNetmaskLength.orNull)
      .publiclyAdvertisable(publiclyAdvertisable.map(Boolean.box).orNull)
      .autoImport(autoImport.map(Boolean.box).orNull)
      .allocationMinNetmaskLength(allocationMinNetmaskLength.orNull)
      .allocationMaxNetmaskLength(allocationMaxNetmaskLength.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy