Class CacheSecuritySettings
- java.lang.Object
-
- com.azure.resourcemanager.storagecache.models.CacheSecuritySettings
-
public final class CacheSecuritySettings extends Object
Cache security settings.
-
-
Constructor Summary
Constructors Constructor Description CacheSecuritySettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<NfsAccessPolicy>
accessPolicies()
Get the accessPolicies property: NFS access policies defined for this cache.void
validate()
Validates the instance.CacheSecuritySettings
withAccessPolicies(List<NfsAccessPolicy> accessPolicies)
Set the accessPolicies property: NFS access policies defined for this cache.
-
-
-
Method Detail
-
accessPolicies
public List<NfsAccessPolicy> accessPolicies()
Get the accessPolicies property: NFS access policies defined for this cache.- Returns:
- the accessPolicies value.
-
withAccessPolicies
public CacheSecuritySettings withAccessPolicies(List<NfsAccessPolicy> accessPolicies)
Set the accessPolicies property: NFS access policies defined for this cache.- Parameters:
accessPolicies
- the accessPolicies value to set.- Returns:
- the CacheSecuritySettings object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-