Class NamespaceJunction
java.lang.Object
com.azure.resourcemanager.storagecache.models.NamespaceJunction
A namespace junction.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the namespacePath property: Namespace path on a Cache for a Storage Target.Get the nfsAccessPolicy property: Name of the access policy applied to this junction.Get the nfsExport property: NFS export where targetPath exists.Get the targetPath property: Path in Storage Target to which namespacePath points.void
validate()
Validates the instance.withNamespacePath
(String namespacePath) Set the namespacePath property: Namespace path on a Cache for a Storage Target.withNfsAccessPolicy
(String nfsAccessPolicy) Set the nfsAccessPolicy property: Name of the access policy applied to this junction.withNfsExport
(String nfsExport) Set the nfsExport property: NFS export where targetPath exists.withTargetPath
(String targetPath) Set the targetPath property: Path in Storage Target to which namespacePath points.
-
Constructor Details
-
NamespaceJunction
public NamespaceJunction()
-
-
Method Details
-
namespacePath
Get the namespacePath property: Namespace path on a Cache for a Storage Target.- Returns:
- the namespacePath value.
-
withNamespacePath
Set the namespacePath property: Namespace path on a Cache for a Storage Target.- Parameters:
namespacePath
- the namespacePath value to set.- Returns:
- the NamespaceJunction object itself.
-
targetPath
Get the targetPath property: Path in Storage Target to which namespacePath points.- Returns:
- the targetPath value.
-
withTargetPath
Set the targetPath property: Path in Storage Target to which namespacePath points.- Parameters:
targetPath
- the targetPath value to set.- Returns:
- the NamespaceJunction object itself.
-
nfsExport
Get the nfsExport property: NFS export where targetPath exists.- Returns:
- the nfsExport value.
-
withNfsExport
Set the nfsExport property: NFS export where targetPath exists.- Parameters:
nfsExport
- the nfsExport value to set.- Returns:
- the NamespaceJunction object itself.
-
nfsAccessPolicy
Get the nfsAccessPolicy property: Name of the access policy applied to this junction.- Returns:
- the nfsAccessPolicy value.
-
withNfsAccessPolicy
Set the nfsAccessPolicy property: Name of the access policy applied to this junction.- Parameters:
nfsAccessPolicy
- the nfsAccessPolicy value to set.- Returns:
- the NamespaceJunction object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-