io.burkard.cdk.services.sagemaker.cfnUserProfile.UserSettingsProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.sagemaker.cfnUserProfile
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.CfnUserProfile.KernelGatewayAppSettingsProperty] = None,
rStudioServerProAppSettings: Option[software.amazon.awscdk.services.sagemaker.CfnUserProfile.RStudioServerProAppSettingsProperty] = None,
sharingSettings: Option[software.amazon.awscdk.services.sagemaker.CfnUserProfile.SharingSettingsProperty] = None,
executionRole: Option[String] = None,
securityGroups: Option[List[String]] = None,
jupyterServerAppSettings: Option[software.amazon.awscdk.services.sagemaker.CfnUserProfile.JupyterServerAppSettingsProperty] = None
): software.amazon.awscdk.services.sagemaker.CfnUserProfile.UserSettingsProperty =
(new software.amazon.awscdk.services.sagemaker.CfnUserProfile.UserSettingsProperty.Builder)
.kernelGatewayAppSettings(kernelGatewayAppSettings.orNull)
.rStudioServerProAppSettings(rStudioServerProAppSettings.orNull)
.sharingSettings(sharingSettings.orNull)
.executionRole(executionRole.orNull)
.securityGroups(securityGroups.map(_.asJava).orNull)
.jupyterServerAppSettings(jupyterServerAppSettings.orNull)
.build()
}