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

io.burkard.cdk.services.apigatewayv2.cfnApiGatewayManagedOverrides.RouteSettingsProperty.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.apigatewayv2.cfnApiGatewayManagedOverrides

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

  def apply(
    throttlingBurstLimit: Option[Number] = None,
    detailedMetricsEnabled: Option[Boolean] = None,
    dataTraceEnabled: Option[Boolean] = None,
    loggingLevel: Option[String] = None,
    throttlingRateLimit: Option[Number] = None
  ): software.amazon.awscdk.services.apigatewayv2.CfnApiGatewayManagedOverrides.RouteSettingsProperty =
    (new software.amazon.awscdk.services.apigatewayv2.CfnApiGatewayManagedOverrides.RouteSettingsProperty.Builder)
      .throttlingBurstLimit(throttlingBurstLimit.orNull)
      .detailedMetricsEnabled(detailedMetricsEnabled.map(Boolean.box).orNull)
      .dataTraceEnabled(dataTraceEnabled.map(Boolean.box).orNull)
      .loggingLevel(loggingLevel.orNull)
      .throttlingRateLimit(throttlingRateLimit.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy