Class ActiveDirectoryProperties
- java.lang.Object
-
- com.azure.resourcemanager.storage.models.ActiveDirectoryProperties
-
public final class ActiveDirectoryProperties extends Object
Settings properties for Active Directory (AD).
-
-
Constructor Summary
Constructors Constructor Description ActiveDirectoryProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringazureStorageSid()Get the azureStorageSid property: Specifies the security identifier (SID) for Azure Storage.StringdomainGuid()Get the domainGuid property: Specifies the domain GUID.StringdomainName()Get the domainName property: Specifies the primary domain that the AD DNS server is authoritative for.StringdomainSid()Get the domainSid property: Specifies the security identifier (SID).StringforestName()Get the forestName property: Specifies the Active Directory forest to get.StringnetBiosDomainName()Get the netBiosDomainName property: Specifies the NetBIOS domain name.voidvalidate()Validates the instance.ActiveDirectoryPropertieswithAzureStorageSid(String azureStorageSid)Set the azureStorageSid property: Specifies the security identifier (SID) for Azure Storage.ActiveDirectoryPropertieswithDomainGuid(String domainGuid)Set the domainGuid property: Specifies the domain GUID.ActiveDirectoryPropertieswithDomainName(String domainName)Set the domainName property: Specifies the primary domain that the AD DNS server is authoritative for.ActiveDirectoryPropertieswithDomainSid(String domainSid)Set the domainSid property: Specifies the security identifier (SID).ActiveDirectoryPropertieswithForestName(String forestName)Set the forestName property: Specifies the Active Directory forest to get.ActiveDirectoryPropertieswithNetBiosDomainName(String netBiosDomainName)Set the netBiosDomainName property: Specifies the NetBIOS domain name.
-
-
-
Method Detail
-
domainName
public String domainName()
Get the domainName property: Specifies the primary domain that the AD DNS server is authoritative for.- Returns:
- the domainName value.
-
withDomainName
public ActiveDirectoryProperties withDomainName(String domainName)
Set the domainName property: Specifies the primary domain that the AD DNS server is authoritative for.- Parameters:
domainName- the domainName value to set.- Returns:
- the ActiveDirectoryProperties object itself.
-
netBiosDomainName
public String netBiosDomainName()
Get the netBiosDomainName property: Specifies the NetBIOS domain name.- Returns:
- the netBiosDomainName value.
-
withNetBiosDomainName
public ActiveDirectoryProperties withNetBiosDomainName(String netBiosDomainName)
Set the netBiosDomainName property: Specifies the NetBIOS domain name.- Parameters:
netBiosDomainName- the netBiosDomainName value to set.- Returns:
- the ActiveDirectoryProperties object itself.
-
forestName
public String forestName()
Get the forestName property: Specifies the Active Directory forest to get.- Returns:
- the forestName value.
-
withForestName
public ActiveDirectoryProperties withForestName(String forestName)
Set the forestName property: Specifies the Active Directory forest to get.- Parameters:
forestName- the forestName value to set.- Returns:
- the ActiveDirectoryProperties object itself.
-
domainGuid
public String domainGuid()
Get the domainGuid property: Specifies the domain GUID.- Returns:
- the domainGuid value.
-
withDomainGuid
public ActiveDirectoryProperties withDomainGuid(String domainGuid)
Set the domainGuid property: Specifies the domain GUID.- Parameters:
domainGuid- the domainGuid value to set.- Returns:
- the ActiveDirectoryProperties object itself.
-
domainSid
public String domainSid()
Get the domainSid property: Specifies the security identifier (SID).- Returns:
- the domainSid value.
-
withDomainSid
public ActiveDirectoryProperties withDomainSid(String domainSid)
Set the domainSid property: Specifies the security identifier (SID).- Parameters:
domainSid- the domainSid value to set.- Returns:
- the ActiveDirectoryProperties object itself.
-
azureStorageSid
public String azureStorageSid()
Get the azureStorageSid property: Specifies the security identifier (SID) for Azure Storage.- Returns:
- the azureStorageSid value.
-
withAzureStorageSid
public ActiveDirectoryProperties withAzureStorageSid(String azureStorageSid)
Set the azureStorageSid property: Specifies the security identifier (SID) for Azure Storage.- Parameters:
azureStorageSid- the azureStorageSid value to set.- Returns:
- the ActiveDirectoryProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-