io.burkard.cdk.services.applicationinsights.cfnApplication.ConfigurationDetailsProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.applicationinsights.cfnApplication
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ConfigurationDetailsProperty {
def apply(
alarmMetrics: Option[List[_]] = None,
windowsEvents: Option[List[_]] = None,
alarms: Option[List[_]] = None,
haClusterPrometheusExporter: Option[software.amazon.awscdk.services.applicationinsights.CfnApplication.HAClusterPrometheusExporterProperty] = None,
hanaPrometheusExporter: Option[software.amazon.awscdk.services.applicationinsights.CfnApplication.HANAPrometheusExporterProperty] = None,
jmxPrometheusExporter: Option[software.amazon.awscdk.services.applicationinsights.CfnApplication.JMXPrometheusExporterProperty] = None,
logs: Option[List[_]] = None
): software.amazon.awscdk.services.applicationinsights.CfnApplication.ConfigurationDetailsProperty =
(new software.amazon.awscdk.services.applicationinsights.CfnApplication.ConfigurationDetailsProperty.Builder)
.alarmMetrics(alarmMetrics.map(_.asJava).orNull)
.windowsEvents(windowsEvents.map(_.asJava).orNull)
.alarms(alarms.map(_.asJava).orNull)
.haClusterPrometheusExporter(haClusterPrometheusExporter.orNull)
.hanaPrometheusExporter(hanaPrometheusExporter.orNull)
.jmxPrometheusExporter(jmxPrometheusExporter.orNull)
.logs(logs.map(_.asJava).orNull)
.build()
}