/* * Copyright 2018-2023 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. */ package com.amazonaws.services.fsx.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* The configuration of the self-managed Microsoft Active Directory (AD) directory to which the Windows File Server or * ONTAP storage virtual machine (SVM) instance is joined. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class SelfManagedActiveDirectoryAttributes implements Serializable, Cloneable, StructuredPojo { /** ** The fully qualified domain name of the self-managed AD directory. *
*/ private String domainName; /** ** The fully qualified distinguished name of the organizational unit within the self-managed AD directory to which * the Windows File Server or ONTAP storage virtual machine (SVM) instance is joined. *
*/ private String organizationalUnitDistinguishedName; /** ** The name of the domain group whose members have administrative privileges for the FSx file system. *
*/ private String fileSystemAdministratorsGroup; /** ** The user name for the service account on your self-managed AD domain that FSx uses to join to your AD domain. *
*/ private String userName; /** ** A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory. *
*/ private java.util.List* The fully qualified domain name of the self-managed AD directory. *
* * @param domainName * The fully qualified domain name of the self-managed AD directory. */ public void setDomainName(String domainName) { this.domainName = domainName; } /** ** The fully qualified domain name of the self-managed AD directory. *
* * @return The fully qualified domain name of the self-managed AD directory. */ public String getDomainName() { return this.domainName; } /** ** The fully qualified domain name of the self-managed AD directory. *
* * @param domainName * The fully qualified domain name of the self-managed AD directory. * @return Returns a reference to this object so that method calls can be chained together. */ public SelfManagedActiveDirectoryAttributes withDomainName(String domainName) { setDomainName(domainName); return this; } /** ** The fully qualified distinguished name of the organizational unit within the self-managed AD directory to which * the Windows File Server or ONTAP storage virtual machine (SVM) instance is joined. *
* * @param organizationalUnitDistinguishedName * The fully qualified distinguished name of the organizational unit within the self-managed AD directory to * which the Windows File Server or ONTAP storage virtual machine (SVM) instance is joined. */ public void setOrganizationalUnitDistinguishedName(String organizationalUnitDistinguishedName) { this.organizationalUnitDistinguishedName = organizationalUnitDistinguishedName; } /** ** The fully qualified distinguished name of the organizational unit within the self-managed AD directory to which * the Windows File Server or ONTAP storage virtual machine (SVM) instance is joined. *
* * @return The fully qualified distinguished name of the organizational unit within the self-managed AD directory to * which the Windows File Server or ONTAP storage virtual machine (SVM) instance is joined. */ public String getOrganizationalUnitDistinguishedName() { return this.organizationalUnitDistinguishedName; } /** ** The fully qualified distinguished name of the organizational unit within the self-managed AD directory to which * the Windows File Server or ONTAP storage virtual machine (SVM) instance is joined. *
* * @param organizationalUnitDistinguishedName * The fully qualified distinguished name of the organizational unit within the self-managed AD directory to * which the Windows File Server or ONTAP storage virtual machine (SVM) instance is joined. * @return Returns a reference to this object so that method calls can be chained together. */ public SelfManagedActiveDirectoryAttributes withOrganizationalUnitDistinguishedName(String organizationalUnitDistinguishedName) { setOrganizationalUnitDistinguishedName(organizationalUnitDistinguishedName); return this; } /** ** The name of the domain group whose members have administrative privileges for the FSx file system. *
* * @param fileSystemAdministratorsGroup * The name of the domain group whose members have administrative privileges for the FSx file system. */ public void setFileSystemAdministratorsGroup(String fileSystemAdministratorsGroup) { this.fileSystemAdministratorsGroup = fileSystemAdministratorsGroup; } /** ** The name of the domain group whose members have administrative privileges for the FSx file system. *
* * @return The name of the domain group whose members have administrative privileges for the FSx file system. */ public String getFileSystemAdministratorsGroup() { return this.fileSystemAdministratorsGroup; } /** ** The name of the domain group whose members have administrative privileges for the FSx file system. *
* * @param fileSystemAdministratorsGroup * The name of the domain group whose members have administrative privileges for the FSx file system. * @return Returns a reference to this object so that method calls can be chained together. */ public SelfManagedActiveDirectoryAttributes withFileSystemAdministratorsGroup(String fileSystemAdministratorsGroup) { setFileSystemAdministratorsGroup(fileSystemAdministratorsGroup); return this; } /** ** The user name for the service account on your self-managed AD domain that FSx uses to join to your AD domain. *
* * @param userName * The user name for the service account on your self-managed AD domain that FSx uses to join to your AD * domain. */ public void setUserName(String userName) { this.userName = userName; } /** ** The user name for the service account on your self-managed AD domain that FSx uses to join to your AD domain. *
* * @return The user name for the service account on your self-managed AD domain that FSx uses to join to your AD * domain. */ public String getUserName() { return this.userName; } /** ** The user name for the service account on your self-managed AD domain that FSx uses to join to your AD domain. *
* * @param userName * The user name for the service account on your self-managed AD domain that FSx uses to join to your AD * domain. * @return Returns a reference to this object so that method calls can be chained together. */ public SelfManagedActiveDirectoryAttributes withUserName(String userName) { setUserName(userName); return this; } /** ** A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory. *
* * @return A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory. */ public java.util.List* A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory. *
* * @param dnsIps * A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory. */ public void setDnsIps(java.util.Collection* A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setDnsIps(java.util.Collection)} or {@link #withDnsIps(java.util.Collection)} if you want to override the * existing values. *
* * @param dnsIps * A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory. * @return Returns a reference to this object so that method calls can be chained together. */ public SelfManagedActiveDirectoryAttributes withDnsIps(String... dnsIps) { if (this.dnsIps == null) { setDnsIps(new java.util.ArrayList* A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory. *
* * @param dnsIps * A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory. * @return Returns a reference to this object so that method calls can be chained together. */ public SelfManagedActiveDirectoryAttributes withDnsIps(java.util.Collection