Class CfnCluster.KerberosAttributesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.emr.CfnCluster.KerberosAttributesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.KerberosAttributesProperty>
- Enclosing interface:
- CfnCluster.KerberosAttributesProperty
@Stability(Stable)
public static final class CfnCluster.KerberosAttributesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.KerberosAttributesProperty>
A builder for
CfnCluster.KerberosAttributesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadDomainJoinPassword(String adDomainJoinPassword) Sets the value ofCfnCluster.KerberosAttributesProperty.getAdDomainJoinPassword()adDomainJoinUser(String adDomainJoinUser) Sets the value ofCfnCluster.KerberosAttributesProperty.getAdDomainJoinUser()build()Builds the configured instance.crossRealmTrustPrincipalPassword(String crossRealmTrustPrincipalPassword) kdcAdminPassword(String kdcAdminPassword) Sets the value ofCfnCluster.KerberosAttributesProperty.getKdcAdminPassword()Sets the value ofCfnCluster.KerberosAttributesProperty.getRealm()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kdcAdminPassword
@Stability(Stable) public CfnCluster.KerberosAttributesProperty.Builder kdcAdminPassword(String kdcAdminPassword) Sets the value ofCfnCluster.KerberosAttributesProperty.getKdcAdminPassword()- Parameters:
kdcAdminPassword- The password used within the cluster for the kadmin service on the cluster-dedicated KDC, which maintains Kerberos principals, password policies, and keytabs for the cluster. This parameter is required.- Returns:
this
-
realm
Sets the value ofCfnCluster.KerberosAttributesProperty.getRealm()- Parameters:
realm- The name of the Kerberos realm to which all nodes in a cluster belong. This parameter is required. For example,EC2.INTERNAL.- Returns:
this
-
adDomainJoinPassword
@Stability(Stable) public CfnCluster.KerberosAttributesProperty.Builder adDomainJoinPassword(String adDomainJoinPassword) Sets the value ofCfnCluster.KerberosAttributesProperty.getAdDomainJoinPassword()- Parameters:
adDomainJoinPassword- The Active Directory password forADDomainJoinUser.- Returns:
this
-
adDomainJoinUser
@Stability(Stable) public CfnCluster.KerberosAttributesProperty.Builder adDomainJoinUser(String adDomainJoinUser) Sets the value ofCfnCluster.KerberosAttributesProperty.getAdDomainJoinUser()- Parameters:
adDomainJoinUser- Required only when establishing a cross-realm trust with an Active Directory domain. A user with sufficient privileges to join resources to the domain.- Returns:
this
-
crossRealmTrustPrincipalPassword
@Stability(Stable) public CfnCluster.KerberosAttributesProperty.Builder crossRealmTrustPrincipalPassword(String crossRealmTrustPrincipalPassword) - Parameters:
crossRealmTrustPrincipalPassword- Required only when establishing a cross-realm trust with a KDC in a different realm. The cross-realm principal password, which must be identical across realms.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCluster.KerberosAttributesProperty>- Returns:
- a new instance of
CfnCluster.KerberosAttributesProperty - Throws:
NullPointerException- if any required attribute was not provided
-