io.burkard.cdk.services.sagemaker.cfnDomain.UserSettingsProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.sagemaker.cfnDomain
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object UserSettingsProperty {
def apply(
kernelGatewayAppSettings: Option[software.amazon.awscdk.services.sagemaker.CfnDomain.KernelGatewayAppSettingsProperty] = None,
rStudioServerProAppSettings: Option[software.amazon.awscdk.services.sagemaker.CfnDomain.RStudioServerProAppSettingsProperty] = None,
sharingSettings: Option[software.amazon.awscdk.services.sagemaker.CfnDomain.SharingSettingsProperty] = None,
executionRole: Option[String] = None,
securityGroups: Option[List[String]] = None,
jupyterServerAppSettings: Option[software.amazon.awscdk.services.sagemaker.CfnDomain.JupyterServerAppSettingsProperty] = None
): software.amazon.awscdk.services.sagemaker.CfnDomain.UserSettingsProperty =
(new software.amazon.awscdk.services.sagemaker.CfnDomain.UserSettingsProperty.Builder)
.kernelGatewayAppSettings(kernelGatewayAppSettings.orNull)
.rStudioServerProAppSettings(rStudioServerProAppSettings.orNull)
.sharingSettings(sharingSettings.orNull)
.executionRole(executionRole.orNull)
.securityGroups(securityGroups.map(_.asJava).orNull)
.jupyterServerAppSettings(jupyterServerAppSettings.orNull)
.build()
}