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

io.burkard.cdk.services.eventschemas.CfnSchemaProps.scala Maven / Gradle / Ivy

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

import scala.collection.JavaConverters._

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

  def apply(
    content: String,
    registryName: String,
    `type`: String,
    description: Option[String] = None,
    tags: Option[List[_ <: software.amazon.awscdk.services.eventschemas.CfnSchema.TagsEntryProperty]] = None,
    schemaName: Option[String] = None
  ): software.amazon.awscdk.services.eventschemas.CfnSchemaProps =
    (new software.amazon.awscdk.services.eventschemas.CfnSchemaProps.Builder)
      .content(content)
      .registryName(registryName)
      .`type`(`type`)
      .description(description.orNull)
      .tags(tags.map(_.asJava).orNull)
      .schemaName(schemaName.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy