io.burkard.cdk.services.codepipeline.actions.JenkinsProviderProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.codepipeline.actions
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object JenkinsProviderProps {
def apply(
serverUrl: String,
providerName: String,
forBuild: Option[Boolean] = None,
forTest: Option[Boolean] = None,
version: Option[String] = None
): software.amazon.awscdk.services.codepipeline.actions.JenkinsProviderProps =
(new software.amazon.awscdk.services.codepipeline.actions.JenkinsProviderProps.Builder)
.serverUrl(serverUrl)
.providerName(providerName)
.forBuild(forBuild.map(Boolean.box).orNull)
.forTest(forTest.map(Boolean.box).orNull)
.version(version.orNull)
.build()
}