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

io.burkard.cdk.services.emr.CfnStudioProps.scala Maven / Gradle / Ivy

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

import scala.collection.JavaConverters._

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

  def apply(
    authMode: String,
    subnetIds: List[String],
    name: String,
    serviceRole: String,
    vpcId: String,
    workspaceSecurityGroupId: String,
    defaultS3Location: String,
    engineSecurityGroupId: String,
    idpAuthUrl: Option[String] = None,
    userRole: Option[String] = None,
    description: Option[String] = None,
    tags: Option[List[_ <: software.amazon.awscdk.CfnTag]] = None,
    idpRelayStateParameterName: Option[String] = None
  ): software.amazon.awscdk.services.emr.CfnStudioProps =
    (new software.amazon.awscdk.services.emr.CfnStudioProps.Builder)
      .authMode(authMode)
      .subnetIds(subnetIds.asJava)
      .name(name)
      .serviceRole(serviceRole)
      .vpcId(vpcId)
      .workspaceSecurityGroupId(workspaceSecurityGroupId)
      .defaultS3Location(defaultS3Location)
      .engineSecurityGroupId(engineSecurityGroupId)
      .idpAuthUrl(idpAuthUrl.orNull)
      .userRole(userRole.orNull)
      .description(description.orNull)
      .tags(tags.map(_.asJava).orNull)
      .idpRelayStateParameterName(idpRelayStateParameterName.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy