Class NamespaceJunction
- java.lang.Object
-
- com.azure.resourcemanager.storagecache.models.NamespaceJunction
-
public final class NamespaceJunction extends Object
A namespace junction.
-
-
Constructor Summary
Constructors Constructor Description NamespaceJunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
namespacePath()
Get the namespacePath property: Namespace path on a Cache for a Storage Target.String
nfsAccessPolicy()
Get the nfsAccessPolicy property: Name of the access policy applied to this junction.String
nfsExport()
Get the nfsExport property: NFS export where targetPath exists.String
targetPath()
Get the targetPath property: Path in Storage Target to which namespacePath points.void
validate()
Validates the instance.NamespaceJunction
withNamespacePath(String namespacePath)
Set the namespacePath property: Namespace path on a Cache for a Storage Target.NamespaceJunction
withNfsAccessPolicy(String nfsAccessPolicy)
Set the nfsAccessPolicy property: Name of the access policy applied to this junction.NamespaceJunction
withNfsExport(String nfsExport)
Set the nfsExport property: NFS export where targetPath exists.NamespaceJunction
withTargetPath(String targetPath)
Set the targetPath property: Path in Storage Target to which namespacePath points.
-
-
-
Method Detail
-
namespacePath
public String namespacePath()
Get the namespacePath property: Namespace path on a Cache for a Storage Target.- Returns:
- the namespacePath value.
-
withNamespacePath
public NamespaceJunction withNamespacePath(String namespacePath)
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
public String targetPath()
Get the targetPath property: Path in Storage Target to which namespacePath points.- Returns:
- the targetPath value.
-
withTargetPath
public NamespaceJunction withTargetPath(String targetPath)
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
public String nfsExport()
Get the nfsExport property: NFS export where targetPath exists.- Returns:
- the nfsExport value.
-
withNfsExport
public NamespaceJunction withNfsExport(String nfsExport)
Set the nfsExport property: NFS export where targetPath exists.- Parameters:
nfsExport
- the nfsExport value to set.- Returns:
- the NamespaceJunction object itself.
-
nfsAccessPolicy
public String nfsAccessPolicy()
Get the nfsAccessPolicy property: Name of the access policy applied to this junction.- Returns:
- the nfsAccessPolicy value.
-
withNfsAccessPolicy
public NamespaceJunction withNfsAccessPolicy(String nfsAccessPolicy)
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.
-
-