io.burkard.cdk.services.batch.cfnJobDefinition.NodePropertiesProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.batch.cfnJobDefinition
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object NodePropertiesProperty {
def apply(
mainNode: Number,
nodeRangeProperties: List[_],
numNodes: Number
): software.amazon.awscdk.services.batch.CfnJobDefinition.NodePropertiesProperty =
(new software.amazon.awscdk.services.batch.CfnJobDefinition.NodePropertiesProperty.Builder)
.mainNode(mainNode)
.nodeRangeProperties(nodeRangeProperties.asJava)
.numNodes(numNodes)
.build()
}