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 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

      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

      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.