Class PathItem
- java.lang.Object
-
- com.azure.storage.file.datalake.models.PathItem
-
public class PathItem extends Object
PathItem
contains basic information about a path item that is returned by the service after certain operations.
-
-
Constructor Summary
Constructors Constructor Description PathItem(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getContentLength()
Get the contentLength property: The contentLength property.OffsetDateTime
getCreationTime()
Get the creation time property.String
getETag()
Get the eTag property: The eTag property.OffsetDateTime
getExpiryTime()
Get the expiry time property.String
getGroup()
Get the group property: The group property.OffsetDateTime
getLastModified()
Get the lastModified property: The lastModified property.String
getName()
Get the name property: The name property.String
getOwner()
Get the owner property: The owner property.String
getPermissions()
Get the permissions property: The permissions property.boolean
isDirectory()
Get the isDirectory property: The isDirectory property.
-
-
-
Constructor Detail
-
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 Detail
-
getETag
public String getETag()
Get the eTag property: The eTag property.- Returns:
- the eTag value.
-
getLastModified
public OffsetDateTime 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
public String 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
public String getName()
Get the name property: The name property.- Returns:
- the name value.
-
getOwner
public String getOwner()
Get the owner property: The owner property.- Returns:
- the owner value.
-
getPermissions
public String getPermissions()
Get the permissions property: The permissions property.- Returns:
- the permissions value.
-
getCreationTime
public OffsetDateTime getCreationTime()
Get the creation time property.- Returns:
- the creation time value.
-
getExpiryTime
public OffsetDateTime getExpiryTime()
Get the expiry time property.- Returns:
- the expiry time value.
-
-