Class CacheActiveDirectorySettings
- 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 Constructor Description CacheActiveDirectorySettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.CacheActiveDirectorySettingsCredentials
credentials()
Get the credentials property: Active Directory admin credentials used to join the HPC Cache to a domain.DomainJoinedType
domainJoined()
Get the domainJoined property: True if the HPC Cache is joined to the Active Directory domain.String
domainName()
Get the domainName property: The fully qualified domain name of the Active Directory domain controller.String
domainNetBiosName()
Get the domainNetBiosName property: The Active Directory domain's NetBIOS name.String
primaryDnsIpAddress()
Get the primaryDnsIpAddress property: Primary DNS IP address used to resolve the Active Directory domain controller's fully qualified domain name.String
secondaryDnsIpAddress()
Get the secondaryDnsIpAddress property: Secondary DNS IP address used to resolve the Active Directory domain controller's fully qualified domain name.void
validate()
Validates the instance.CacheActiveDirectorySettings
withCacheNetBiosName(String cacheNetBiosName)
Set the cacheNetBiosName property: The NetBIOS name to assign to the HPC Cache when it joins the Active Directory domain as a server.CacheActiveDirectorySettings
withCredentials(CacheActiveDirectorySettingsCredentials credentials)
Set the credentials property: Active Directory admin credentials used to join the HPC Cache to a domain.CacheActiveDirectorySettings
withDomainName(String domainName)
Set the domainName property: The fully qualified domain name of the Active Directory domain controller.CacheActiveDirectorySettings
withDomainNetBiosName(String domainNetBiosName)
Set the domainNetBiosName property: The Active Directory domain's NetBIOS name.CacheActiveDirectorySettings
withPrimaryDnsIpAddress(String primaryDnsIpAddress)
Set the primaryDnsIpAddress property: Primary DNS IP address used to resolve the Active Directory domain controller's fully qualified domain name.CacheActiveDirectorySettings
withSecondaryDnsIpAddress(String secondaryDnsIpAddress)
Set the secondaryDnsIpAddress property: Secondary DNS IP address used to resolve the Active Directory domain controller's fully qualified domain name.
-
-
-
Method Detail
-
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
public CacheActiveDirectorySettings withPrimaryDnsIpAddress(String primaryDnsIpAddress)
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
public CacheActiveDirectorySettings withSecondaryDnsIpAddress(String secondaryDnsIpAddress)
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
public String domainName()
Get the domainName property: The fully qualified domain name of the Active Directory domain controller.- Returns:
- the domainName value.
-
withDomainName
public CacheActiveDirectorySettings withDomainName(String domainName)
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
public CacheActiveDirectorySettings withDomainNetBiosName(String domainNetBiosName)
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
public CacheActiveDirectorySettings withCacheNetBiosName(String cacheNetBiosName)
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
public DomainJoinedType domainJoined()
Get the domainJoined property: True if the HPC Cache is joined to the Active Directory domain.- Returns:
- the domainJoined value.
-
credentials
public CacheActiveDirectorySettingsCredentials credentials()
Get the credentials property: Active Directory admin credentials used to join the HPC Cache to a domain.- Returns:
- the credentials value.
-
withCredentials
public CacheActiveDirectorySettings withCredentials(CacheActiveDirectorySettingsCredentials credentials)
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.
-
-