io.burkard.cdk.services.sagemaker.cfnDataQualityJobDefinition.NetworkConfigProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.sagemaker.cfnDataQualityJobDefinition
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object NetworkConfigProperty {
def apply(
vpcConfig: Option[software.amazon.awscdk.services.sagemaker.CfnDataQualityJobDefinition.VpcConfigProperty] = None,
enableInterContainerTrafficEncryption: Option[Boolean] = None,
enableNetworkIsolation: Option[Boolean] = None
): software.amazon.awscdk.services.sagemaker.CfnDataQualityJobDefinition.NetworkConfigProperty =
(new software.amazon.awscdk.services.sagemaker.CfnDataQualityJobDefinition.NetworkConfigProperty.Builder)
.vpcConfig(vpcConfig.orNull)
.enableInterContainerTrafficEncryption(enableInterContainerTrafficEncryption.map(Boolean.box).orNull)
.enableNetworkIsolation(enableNetworkIsolation.map(Boolean.box).orNull)
.build()
}