Class CacheDirectorySettings
- java.lang.Object
-
- com.azure.resourcemanager.storagecache.models.CacheDirectorySettings
-
public final class CacheDirectorySettings extends Object
Cache Directory Services settings.
-
-
Constructor Summary
Constructors Constructor Description CacheDirectorySettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CacheActiveDirectorySettings
activeDirectory()
Get the activeDirectory property: Specifies settings for joining the HPC Cache to an Active Directory domain.CacheUsernameDownloadSettings
usernameDownload()
Get the usernameDownload property: Specifies settings for Extended Groups.void
validate()
Validates the instance.CacheDirectorySettings
withActiveDirectory(CacheActiveDirectorySettings activeDirectory)
Set the activeDirectory property: Specifies settings for joining the HPC Cache to an Active Directory domain.CacheDirectorySettings
withUsernameDownload(CacheUsernameDownloadSettings usernameDownload)
Set the usernameDownload property: Specifies settings for Extended Groups.
-
-
-
Method Detail
-
activeDirectory
public CacheActiveDirectorySettings activeDirectory()
Get the activeDirectory property: Specifies settings for joining the HPC Cache to an Active Directory domain.- Returns:
- the activeDirectory value.
-
withActiveDirectory
public CacheDirectorySettings withActiveDirectory(CacheActiveDirectorySettings activeDirectory)
Set the activeDirectory property: Specifies settings for joining the HPC Cache to an Active Directory domain.- Parameters:
activeDirectory
- the activeDirectory value to set.- Returns:
- the CacheDirectorySettings object itself.
-
usernameDownload
public CacheUsernameDownloadSettings usernameDownload()
Get the usernameDownload property: Specifies settings for Extended Groups. Extended Groups allows users to be members of more than 16 groups.- Returns:
- the usernameDownload value.
-
withUsernameDownload
public CacheDirectorySettings withUsernameDownload(CacheUsernameDownloadSettings usernameDownload)
Set the usernameDownload property: Specifies settings for Extended Groups. Extended Groups allows users to be members of more than 16 groups.- Parameters:
usernameDownload
- the usernameDownload value to set.- Returns:
- the CacheDirectorySettings object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-