Class PathItem
java.lang.Object
com.azure.storage.file.datalake.models.PathItem
PathItem
contains basic information about a path item that is returned by the service after certain
operations.-
Constructor Summary
ConstructorsConstructorDescriptionPathItem
(String eTag, OffsetDateTime lastModified, long contentLength, String group, boolean isDirectory, String name, String owner, String permissions) Constructs aPathItem
PathItem
(String eTag, OffsetDateTime lastModified, long contentLength, String group, boolean isDirectory, String name, String owner, String permissions, OffsetDateTime creationTime, OffsetDateTime expiryTime) Constructs aPathItem
-
Method Summary
Modifier and TypeMethodDescriptionlong
Get the contentLength property: The contentLength property.Get the creation time property.Get the encryptionScope property: The name of the encryption scope under which the blob is encrypted.getETag()
Get the eTag property: The eTag property.Get the expiry time property.getGroup()
Get the group property: The group property.Get the lastModified property: The lastModified property.getName()
Get the name property: The name property.getOwner()
Get the owner property: The owner property.Get the permissions property: The permissions property.boolean
Get the isDirectory property: The isDirectory property.
-
Constructor Details
-
PathItem
public PathItem(String eTag, OffsetDateTime lastModified, long contentLength, String group, boolean isDirectory, String name, String owner, String permissions) Constructs aPathItem
- Parameters:
eTag
- ETag of the path.lastModified
- Datetime when the path was last modified.contentLength
- The content length of the path.group
- The group the path belongs to.isDirectory
- Whether or not the path is a directory.name
- The name of the path.owner
- The owner the path belongs to.permissions
- The permissions set on the path.
-
PathItem
public PathItem(String eTag, OffsetDateTime lastModified, long contentLength, String group, boolean isDirectory, String name, String owner, String permissions, OffsetDateTime creationTime, OffsetDateTime expiryTime) Constructs aPathItem
- Parameters:
eTag
- ETag of the path.lastModified
- Datetime when the path was last modified.contentLength
- The content length of the path.group
- The group the path belongs to.isDirectory
- Whether or not the path is a directory.name
- The name of the path.owner
- The owner the path belongs to.permissions
- The permissions set on the path.creationTime
- The creation time of the path item.expiryTime
- The expiry time of the path item.
-
-
Method Details
-
getETag
Get the eTag property: The eTag property.- Returns:
- the eTag value.
-
getLastModified
Get the lastModified property: The lastModified property.- Returns:
- the lastModified value.
-
getContentLength
public long getContentLength()Get the contentLength property: The contentLength property.- Returns:
- the contentLength value.
-
getGroup
Get the group property: The group property.- Returns:
- the group value.
-
isDirectory
public boolean isDirectory()Get the isDirectory property: The isDirectory property.- Returns:
- the isDirectory value.
-
getName
Get the name property: The name property.- Returns:
- the name value.
-
getOwner
Get the owner property: The owner property.- Returns:
- the owner value.
-
getPermissions
Get the permissions property: The permissions property.- Returns:
- the permissions value.
-
getCreationTime
Get the creation time property.- Returns:
- the creation time value.
-
getExpiryTime
Get the expiry time property.- Returns:
- the expiry time value.
-
getEncryptionScope
Get the encryptionScope property: The name of the encryption scope under which the blob is encrypted.- Returns:
- the encryptionScope value.
-