![JAR search and dependency download from the Maven repository](/logo.png)
io.burkard.cdk.services.codestarnotifications.CfnNotificationRuleProps.scala Maven / Gradle / Ivy
package io.burkard.cdk.services.codestarnotifications
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnNotificationRuleProps {
def apply(
name: String,
targets: List[_],
eventTypeIds: List[String],
resource: String,
detailType: String,
targetAddress: Option[String] = None,
tags: Option[AnyRef] = None,
eventTypeId: Option[String] = None,
status: Option[String] = None,
createdBy: Option[String] = None
): software.amazon.awscdk.services.codestarnotifications.CfnNotificationRuleProps =
(new software.amazon.awscdk.services.codestarnotifications.CfnNotificationRuleProps.Builder)
.name(name)
.targets(targets.asJava)
.eventTypeIds(eventTypeIds.asJava)
.resource(resource)
.detailType(detailType)
.targetAddress(targetAddress.orNull)
.tags(tags.orNull)
.eventTypeId(eventTypeId.orNull)
.status(status.orNull)
.createdBy(createdBy.orNull)
.build()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy