/*
* 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 fsx-2018-03-01.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.FSx.Model
{
///
/// Specifies changes you are making to the self-managed Microsoft Active Directory (AD)
/// configuration to which an FSx for Windows File Server file system or an FSx for ONTAP
/// SVM is joined.
///
public partial class SelfManagedActiveDirectoryConfigurationUpdates
{
private List _dnsIps = new List();
private string _domainName;
private string _fileSystemAdministratorsGroup;
private string _organizationalUnitDistinguishedName;
private string _password;
private string _userName;
///
/// Gets and sets the property DnsIps.
///
/// A list of up to three DNS server or domain controller IP addresses in your self-managed
/// AD domain.
///
///
[AWSProperty(Min=1, Max=3)]
public List DnsIps
{
get { return this._dnsIps; }
set { this._dnsIps = value; }
}
// Check to see if DnsIps property is set
internal bool IsSetDnsIps()
{
return this._dnsIps != null && this._dnsIps.Count > 0;
}
///
/// Gets and sets the property DomainName.
///
/// Specifies an updated fully qualified domain name of your self-managed AD configuration.
///
///
[AWSProperty(Min=1, Max=255)]
public string DomainName
{
get { return this._domainName; }
set { this._domainName = value; }
}
// Check to see if DomainName property is set
internal bool IsSetDomainName()
{
return this._domainName != null;
}
///
/// Gets and sets the property FileSystemAdministratorsGroup.
///
/// Specifies the updated name of the self-managed AD domain group whose members are granted
/// administrative privileges for the Amazon FSx resource.
///
///
[AWSProperty(Min=1, Max=256)]
public string FileSystemAdministratorsGroup
{
get { return this._fileSystemAdministratorsGroup; }
set { this._fileSystemAdministratorsGroup = value; }
}
// Check to see if FileSystemAdministratorsGroup property is set
internal bool IsSetFileSystemAdministratorsGroup()
{
return this._fileSystemAdministratorsGroup != null;
}
///
/// Gets and sets the property OrganizationalUnitDistinguishedName.
///
/// Specifies an updated fully qualified distinguished name of the organization unit within
/// your self-managed AD.
///
///
[AWSProperty(Min=1, Max=2000)]
public string OrganizationalUnitDistinguishedName
{
get { return this._organizationalUnitDistinguishedName; }
set { this._organizationalUnitDistinguishedName = value; }
}
// Check to see if OrganizationalUnitDistinguishedName property is set
internal bool IsSetOrganizationalUnitDistinguishedName()
{
return this._organizationalUnitDistinguishedName != null;
}
///
/// Gets and sets the property Password.
///
/// Specifies the updated password for the service account on your self-managed AD domain.
/// Amazon FSx uses this account to join to your self-managed AD domain.
///
///
[AWSProperty(Sensitive=true, Min=1, Max=256)]
public string Password
{
get { return this._password; }
set { this._password = value; }
}
// Check to see if Password property is set
internal bool IsSetPassword()
{
return this._password != null;
}
///
/// Gets and sets the property UserName.
///
/// Specifies the updated user name for the service account on your self-managed AD domain.
/// Amazon FSx uses this account to join to your self-managed AD domain.
///
///
///
/// This account must have the permissions required to join computers to the domain in
/// the organizational unit provided in OrganizationalUnitDistinguishedName
.
///
///
[AWSProperty(Min=1, Max=256)]
public string UserName
{
get { return this._userName; }
set { this._userName = value; }
}
// Check to see if UserName property is set
internal bool IsSetUserName()
{
return this._userName != null;
}
}
}