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

io.burkard.cdk.services.sagemaker.cfnModelQualityJobDefinition.NetworkConfigProperty.scala Maven / Gradle / Ivy

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

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object NetworkConfigProperty {

  def apply(
    vpcConfig: Option[software.amazon.awscdk.services.sagemaker.CfnModelQualityJobDefinition.VpcConfigProperty] = None,
    enableInterContainerTrafficEncryption: Option[Boolean] = None,
    enableNetworkIsolation: Option[Boolean] = None
  ): software.amazon.awscdk.services.sagemaker.CfnModelQualityJobDefinition.NetworkConfigProperty =
    (new software.amazon.awscdk.services.sagemaker.CfnModelQualityJobDefinition.NetworkConfigProperty.Builder)
      .vpcConfig(vpcConfig.orNull)
      .enableInterContainerTrafficEncryption(enableInterContainerTrafficEncryption.map(Boolean.box).orNull)
      .enableNetworkIsolation(enableNetworkIsolation.map(Boolean.box).orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy