java.lang.Object
com.azure.resourcemanager.storagecache.models.CacheActiveDirectorySettings
public final class CacheActiveDirectorySettings
extends Object
Active Directory settings used to join a cache to a domain.
Constructor Summary
Constructors
Creates an instance of CacheActiveDirectorySettings class.
Method Summary
All Methods Instance Methods Concrete Methods
Get the cacheNetBiosName property: The NetBIOS name to assign to the HPC Cache when it joins the Active Directory
domain as a server.
Get the credentials property: Active Directory admin credentials used to join the HPC Cache to a domain.
Get the domainJoined property: True if the HPC Cache is joined to the Active Directory domain.
Get the domainName property: The fully qualified domain name of the Active Directory domain controller.
Get the domainNetBiosName property: The Active Directory domain's NetBIOS name.
Get the primaryDnsIpAddress property: Primary DNS IP address used to resolve the Active Directory domain
controller's fully qualified domain name.
Get the secondaryDnsIpAddress property: Secondary DNS IP address used to resolve the Active Directory domain
controller's fully qualified domain name.
void
Set the cacheNetBiosName property: The NetBIOS name to assign to the HPC Cache when it joins the Active Directory
domain as a server.
Set the credentials property: Active Directory admin credentials used to join the HPC Cache to a domain.
Set the domainName property: The fully qualified domain name of the Active Directory domain controller.
Set the domainNetBiosName property: The Active Directory domain's NetBIOS name.
Set the primaryDnsIpAddress property: Primary DNS IP address used to resolve the Active Directory domain
controller's fully qualified domain name.
Set the secondaryDnsIpAddress property: Secondary DNS IP address used to resolve the Active Directory domain
controller's fully qualified domain name.
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Constructor Details
CacheActiveDirectorySettings
public CacheActiveDirectorySettings ()
Creates an instance of CacheActiveDirectorySettings class.
Method Details
primaryDnsIpAddress
public String primaryDnsIpAddress ()
Get the primaryDnsIpAddress property: Primary DNS IP address used to resolve the Active Directory domain
controller's fully qualified domain name.
Returns:
the primaryDnsIpAddress value.
withPrimaryDnsIpAddress
Set the primaryDnsIpAddress property: Primary DNS IP address used to resolve the Active Directory domain
controller's fully qualified domain name.
Parameters:
primaryDnsIpAddress
- the primaryDnsIpAddress value to set.
Returns:
the CacheActiveDirectorySettings object itself.
secondaryDnsIpAddress
public String secondaryDnsIpAddress ()
Get the secondaryDnsIpAddress property: Secondary DNS IP address used to resolve the Active Directory domain
controller's fully qualified domain name.
Returns:
the secondaryDnsIpAddress value.
withSecondaryDnsIpAddress
Set the secondaryDnsIpAddress property: Secondary DNS IP address used to resolve the Active Directory domain
controller's fully qualified domain name.
Parameters:
secondaryDnsIpAddress
- the secondaryDnsIpAddress value to set.
Returns:
the CacheActiveDirectorySettings object itself.
domainName
Get the domainName property: The fully qualified domain name of the Active Directory domain controller.
Returns:
the domainName value.
withDomainName
Set the domainName property: The fully qualified domain name of the Active Directory domain controller.
Parameters:
domainName
- the domainName value to set.
Returns:
the CacheActiveDirectorySettings object itself.
domainNetBiosName
public String domainNetBiosName ()
Get the domainNetBiosName property: The Active Directory domain's NetBIOS name.
Returns:
the domainNetBiosName value.
withDomainNetBiosName
Set the domainNetBiosName property: The Active Directory domain's NetBIOS name.
Parameters:
domainNetBiosName
- the domainNetBiosName value to set.
Returns:
the CacheActiveDirectorySettings object itself.
cacheNetBiosName
public String cacheNetBiosName ()
Get the cacheNetBiosName property: The NetBIOS name to assign to the HPC Cache when it joins the Active Directory
domain as a server. Length must 1-15 characters from the class [-0-9a-zA-Z].
Returns:
the cacheNetBiosName value.
withCacheNetBiosName
Set the cacheNetBiosName property: The NetBIOS name to assign to the HPC Cache when it joins the Active Directory
domain as a server. Length must 1-15 characters from the class [-0-9a-zA-Z].
Parameters:
cacheNetBiosName
- the cacheNetBiosName value to set.
Returns:
the CacheActiveDirectorySettings object itself.
domainJoined
Get the domainJoined property: True if the HPC Cache is joined to the Active Directory domain.
Returns:
the domainJoined value.
credentials
Get the credentials property: Active Directory admin credentials used to join the HPC Cache to a domain.
Returns:
the credentials value.
withCredentials
Set the credentials property: Active Directory admin credentials used to join the HPC Cache to a domain.
Parameters:
credentials
- the credentials value to set.
Returns:
the CacheActiveDirectorySettings object itself.
validate
public void validate ()
Validates the instance.
Throws:
IllegalArgumentException
- thrown if the instance is not valid.