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

io.burkard.cdk.services.events.ApiDestinationProps.scala Maven / Gradle / Ivy

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

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ApiDestinationProps {

  def apply(
    endpoint: String,
    connection: software.amazon.awscdk.services.events.IConnection,
    apiDestinationName: Option[String] = None,
    description: Option[String] = None,
    rateLimitPerSecond: Option[Number] = None,
    httpMethod: Option[software.amazon.awscdk.services.events.HttpMethod] = None
  ): software.amazon.awscdk.services.events.ApiDestinationProps =
    (new software.amazon.awscdk.services.events.ApiDestinationProps.Builder)
      .endpoint(endpoint)
      .connection(connection)
      .apiDestinationName(apiDestinationName.orNull)
      .description(description.orNull)
      .rateLimitPerSecond(rateLimitPerSecond.orNull)
      .httpMethod(httpMethod.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy