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

io.burkard.cdk.services.emr.cfnCluster.KerberosAttributesProperty.scala Maven / Gradle / Ivy

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

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

  def apply(
    realm: String,
    kdcAdminPassword: String,
    adDomainJoinUser: Option[String] = None,
    crossRealmTrustPrincipalPassword: Option[String] = None,
    adDomainJoinPassword: Option[String] = None
  ): software.amazon.awscdk.services.emr.CfnCluster.KerberosAttributesProperty =
    (new software.amazon.awscdk.services.emr.CfnCluster.KerberosAttributesProperty.Builder)
      .realm(realm)
      .kdcAdminPassword(kdcAdminPassword)
      .adDomainJoinUser(adDomainJoinUser.orNull)
      .crossRealmTrustPrincipalPassword(crossRealmTrustPrincipalPassword.orNull)
      .adDomainJoinPassword(adDomainJoinPassword.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy