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

com.pulumi.aws.emr.inputs.ClusterKerberosAttributesArgs Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.emr.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ClusterKerberosAttributesArgs extends com.pulumi.resources.ResourceArgs {

    public static final ClusterKerberosAttributesArgs Empty = new ClusterKerberosAttributesArgs();

    /**
     * Active Directory password for `ad_domain_join_user`. This provider cannot perform drift detection of this configuration.
     * 
     */
    @Import(name="adDomainJoinPassword")
    private @Nullable Output adDomainJoinPassword;

    /**
     * @return Active Directory password for `ad_domain_join_user`. This provider cannot perform drift detection of this configuration.
     * 
     */
    public Optional> adDomainJoinPassword() {
        return Optional.ofNullable(this.adDomainJoinPassword);
    }

    /**
     * Required only when establishing a cross-realm trust with an Active Directory domain. A user with sufficient privileges to join resources to the domain. This provider cannot perform drift detection of this configuration.
     * 
     */
    @Import(name="adDomainJoinUser")
    private @Nullable Output adDomainJoinUser;

    /**
     * @return Required only when establishing a cross-realm trust with an Active Directory domain. A user with sufficient privileges to join resources to the domain. This provider cannot perform drift detection of this configuration.
     * 
     */
    public Optional> adDomainJoinUser() {
        return Optional.ofNullable(this.adDomainJoinUser);
    }

    /**
     * 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. This provider cannot perform drift detection of this configuration.
     * 
     */
    @Import(name="crossRealmTrustPrincipalPassword")
    private @Nullable Output crossRealmTrustPrincipalPassword;

    /**
     * @return 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. This provider cannot perform drift detection of this configuration.
     * 
     */
    public Optional> crossRealmTrustPrincipalPassword() {
        return Optional.ofNullable(this.crossRealmTrustPrincipalPassword);
    }

    /**
     * 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 provider cannot perform drift detection of this configuration.
     * 
     */
    @Import(name="kdcAdminPassword", required=true)
    private Output kdcAdminPassword;

    /**
     * @return 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 provider cannot perform drift detection of this configuration.
     * 
     */
    public Output kdcAdminPassword() {
        return this.kdcAdminPassword;
    }

    /**
     * Name of the Kerberos realm to which all nodes in a cluster belong. For example, `EC2.INTERNAL`
     * 
     */
    @Import(name="realm", required=true)
    private Output realm;

    /**
     * @return Name of the Kerberos realm to which all nodes in a cluster belong. For example, `EC2.INTERNAL`
     * 
     */
    public Output realm() {
        return this.realm;
    }

    private ClusterKerberosAttributesArgs() {}

    private ClusterKerberosAttributesArgs(ClusterKerberosAttributesArgs $) {
        this.adDomainJoinPassword = $.adDomainJoinPassword;
        this.adDomainJoinUser = $.adDomainJoinUser;
        this.crossRealmTrustPrincipalPassword = $.crossRealmTrustPrincipalPassword;
        this.kdcAdminPassword = $.kdcAdminPassword;
        this.realm = $.realm;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(ClusterKerberosAttributesArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private ClusterKerberosAttributesArgs $;

        public Builder() {
            $ = new ClusterKerberosAttributesArgs();
        }

        public Builder(ClusterKerberosAttributesArgs defaults) {
            $ = new ClusterKerberosAttributesArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param adDomainJoinPassword Active Directory password for `ad_domain_join_user`. This provider cannot perform drift detection of this configuration.
         * 
         * @return builder
         * 
         */
        public Builder adDomainJoinPassword(@Nullable Output adDomainJoinPassword) {
            $.adDomainJoinPassword = adDomainJoinPassword;
            return this;
        }

        /**
         * @param adDomainJoinPassword Active Directory password for `ad_domain_join_user`. This provider cannot perform drift detection of this configuration.
         * 
         * @return builder
         * 
         */
        public Builder adDomainJoinPassword(String adDomainJoinPassword) {
            return adDomainJoinPassword(Output.of(adDomainJoinPassword));
        }

        /**
         * @param 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. This provider cannot perform drift detection of this configuration.
         * 
         * @return builder
         * 
         */
        public Builder adDomainJoinUser(@Nullable Output adDomainJoinUser) {
            $.adDomainJoinUser = adDomainJoinUser;
            return this;
        }

        /**
         * @param 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. This provider cannot perform drift detection of this configuration.
         * 
         * @return builder
         * 
         */
        public Builder adDomainJoinUser(String adDomainJoinUser) {
            return adDomainJoinUser(Output.of(adDomainJoinUser));
        }

        /**
         * @param 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. This provider cannot perform drift detection of this configuration.
         * 
         * @return builder
         * 
         */
        public Builder crossRealmTrustPrincipalPassword(@Nullable Output crossRealmTrustPrincipalPassword) {
            $.crossRealmTrustPrincipalPassword = crossRealmTrustPrincipalPassword;
            return this;
        }

        /**
         * @param 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. This provider cannot perform drift detection of this configuration.
         * 
         * @return builder
         * 
         */
        public Builder crossRealmTrustPrincipalPassword(String crossRealmTrustPrincipalPassword) {
            return crossRealmTrustPrincipalPassword(Output.of(crossRealmTrustPrincipalPassword));
        }

        /**
         * @param kdcAdminPassword 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 provider cannot perform drift detection of this configuration.
         * 
         * @return builder
         * 
         */
        public Builder kdcAdminPassword(Output kdcAdminPassword) {
            $.kdcAdminPassword = kdcAdminPassword;
            return this;
        }

        /**
         * @param kdcAdminPassword 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 provider cannot perform drift detection of this configuration.
         * 
         * @return builder
         * 
         */
        public Builder kdcAdminPassword(String kdcAdminPassword) {
            return kdcAdminPassword(Output.of(kdcAdminPassword));
        }

        /**
         * @param realm Name of the Kerberos realm to which all nodes in a cluster belong. For example, `EC2.INTERNAL`
         * 
         * @return builder
         * 
         */
        public Builder realm(Output realm) {
            $.realm = realm;
            return this;
        }

        /**
         * @param realm Name of the Kerberos realm to which all nodes in a cluster belong. For example, `EC2.INTERNAL`
         * 
         * @return builder
         * 
         */
        public Builder realm(String realm) {
            return realm(Output.of(realm));
        }

        public ClusterKerberosAttributesArgs build() {
            if ($.kdcAdminPassword == null) {
                throw new MissingRequiredPropertyException("ClusterKerberosAttributesArgs", "kdcAdminPassword");
            }
            if ($.realm == null) {
                throw new MissingRequiredPropertyException("ClusterKerberosAttributesArgs", "realm");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy