All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.services.sagemaker.CfnModelQualityJobDefinition.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.sagemaker

import scala.collection.JavaConverters._

@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnModelQualityJobDefinition {

  def apply(
    internalResourceId: String,
    modelQualityJobInput: software.amazon.awscdk.services.sagemaker.CfnModelQualityJobDefinition.ModelQualityJobInputProperty,
    jobResources: software.amazon.awscdk.services.sagemaker.CfnModelQualityJobDefinition.MonitoringResourcesProperty,
    roleArn: String,
    modelQualityAppSpecification: software.amazon.awscdk.services.sagemaker.CfnModelQualityJobDefinition.ModelQualityAppSpecificationProperty,
    modelQualityJobOutputConfig: software.amazon.awscdk.services.sagemaker.CfnModelQualityJobDefinition.MonitoringOutputConfigProperty,
    networkConfig: Option[software.amazon.awscdk.services.sagemaker.CfnModelQualityJobDefinition.NetworkConfigProperty] = None,
    tags: Option[List[_ <: software.amazon.awscdk.CfnTag]] = None,
    stoppingCondition: Option[software.amazon.awscdk.services.sagemaker.CfnModelQualityJobDefinition.StoppingConditionProperty] = None,
    modelQualityBaselineConfig: Option[software.amazon.awscdk.services.sagemaker.CfnModelQualityJobDefinition.ModelQualityBaselineConfigProperty] = None,
    jobDefinitionName: Option[String] = None
  )(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.sagemaker.CfnModelQualityJobDefinition =
    software.amazon.awscdk.services.sagemaker.CfnModelQualityJobDefinition.Builder
      .create(stackCtx, internalResourceId)
      .modelQualityJobInput(modelQualityJobInput)
      .jobResources(jobResources)
      .roleArn(roleArn)
      .modelQualityAppSpecification(modelQualityAppSpecification)
      .modelQualityJobOutputConfig(modelQualityJobOutputConfig)
      .networkConfig(networkConfig.orNull)
      .tags(tags.map(_.asJava).orNull)
      .stoppingCondition(stoppingCondition.orNull)
      .modelQualityBaselineConfig(modelQualityBaselineConfig.orNull)
      .jobDefinitionName(jobDefinitionName.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy