io.burkard.cdk.services.codebuild.cfnProject.ProjectBuildBatchConfigProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.codebuild.cfnProject
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ProjectBuildBatchConfigProperty {
def apply(
serviceRole: Option[String] = None,
batchReportMode: Option[String] = None,
restrictions: Option[software.amazon.awscdk.services.codebuild.CfnProject.BatchRestrictionsProperty] = None,
timeoutInMins: Option[Number] = None,
combineArtifacts: Option[Boolean] = None
): software.amazon.awscdk.services.codebuild.CfnProject.ProjectBuildBatchConfigProperty =
(new software.amazon.awscdk.services.codebuild.CfnProject.ProjectBuildBatchConfigProperty.Builder)
.serviceRole(serviceRole.orNull)
.batchReportMode(batchReportMode.orNull)
.restrictions(restrictions.orNull)
.timeoutInMins(timeoutInMins.orNull)
.combineArtifacts(combineArtifacts.map(Boolean.box).orNull)
.build()
}