Class EmrCreateCluster.KerberosAttributesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.EmrCreateCluster.KerberosAttributesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EmrCreateCluster.KerberosAttributesProperty>
- Enclosing interface:
EmrCreateCluster.KerberosAttributesProperty
@Stability(Stable)
public static final class EmrCreateCluster.KerberosAttributesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<EmrCreateCluster.KerberosAttributesProperty>
A builder for
EmrCreateCluster.KerberosAttributesProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadDomainJoinPassword
(String adDomainJoinPassword) Sets the value ofEmrCreateCluster.KerberosAttributesProperty.getAdDomainJoinPassword()
adDomainJoinUser
(String adDomainJoinUser) Sets the value ofEmrCreateCluster.KerberosAttributesProperty.getAdDomainJoinUser()
build()
Builds the configured instance.crossRealmTrustPrincipalPassword
(String crossRealmTrustPrincipalPassword) kdcAdminPassword
(String kdcAdminPassword) Sets the value ofEmrCreateCluster.KerberosAttributesProperty.getKdcAdminPassword()
Sets the value ofEmrCreateCluster.KerberosAttributesProperty.getRealm()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
realm
Sets the value ofEmrCreateCluster.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 EmrCreateCluster.KerberosAttributesProperty.Builder adDomainJoinPassword(String adDomainJoinPassword) Sets the value ofEmrCreateCluster.KerberosAttributesProperty.getAdDomainJoinPassword()
- Parameters:
adDomainJoinPassword
- The Active Directory password for ADDomainJoinUser.- Returns:
this
-
adDomainJoinUser
@Stability(Stable) public EmrCreateCluster.KerberosAttributesProperty.Builder adDomainJoinUser(String adDomainJoinUser) Sets the value ofEmrCreateCluster.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 EmrCreateCluster.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
-
kdcAdminPassword
@Stability(Stable) public EmrCreateCluster.KerberosAttributesProperty.Builder kdcAdminPassword(String kdcAdminPassword) Sets the value ofEmrCreateCluster.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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<EmrCreateCluster.KerberosAttributesProperty>
- Returns:
- a new instance of
EmrCreateCluster.KerberosAttributesProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-