/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the elasticmapreduce-2009-03-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ElasticMapReduce.Model { /// /// Attributes for Kerberos configuration when Kerberos authentication is enabled using /// a security configuration. For more information see Use /// Kerberos Authentication in the Amazon EMR Management Guide. /// public partial class KerberosAttributes { private string _adDomainJoinPassword; private string _adDomainJoinUser; private string _crossRealmTrustPrincipalPassword; private string _kdcAdminPassword; private string _realm; /// /// Gets and sets the property ADDomainJoinPassword. /// /// The Active Directory password for ADDomainJoinUser. /// /// [AWSProperty(Min=0, Max=256)] public string ADDomainJoinPassword { get { return this._adDomainJoinPassword; } set { this._adDomainJoinPassword = value; } } // Check to see if ADDomainJoinPassword property is set internal bool IsSetADDomainJoinPassword() { return this._adDomainJoinPassword != null; } /// /// Gets and sets the property 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. /// /// [AWSProperty(Min=0, Max=256)] public string ADDomainJoinUser { get { return this._adDomainJoinUser; } set { this._adDomainJoinUser = value; } } // Check to see if ADDomainJoinUser property is set internal bool IsSetADDomainJoinUser() { return this._adDomainJoinUser != null; } /// /// Gets and sets the property 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. /// /// [AWSProperty(Min=0, Max=256)] public string CrossRealmTrustPrincipalPassword { get { return this._crossRealmTrustPrincipalPassword; } set { this._crossRealmTrustPrincipalPassword = value; } } // Check to see if CrossRealmTrustPrincipalPassword property is set internal bool IsSetCrossRealmTrustPrincipalPassword() { return this._crossRealmTrustPrincipalPassword != null; } /// /// Gets and sets the property 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. /// /// [AWSProperty(Required=true, Min=0, Max=256)] public string KdcAdminPassword { get { return this._kdcAdminPassword; } set { this._kdcAdminPassword = value; } } // Check to see if KdcAdminPassword property is set internal bool IsSetKdcAdminPassword() { return this._kdcAdminPassword != null; } /// /// Gets and sets the property Realm. /// /// The name of the Kerberos realm to which all nodes in a cluster belong. For example, /// EC2.INTERNAL. /// /// [AWSProperty(Required=true, Min=0, Max=256)] public string Realm { get { return this._realm; } set { this._realm = value; } } // Check to see if Realm property is set internal bool IsSetRealm() { return this._realm != null; } } }