HandleItem Class
- java.
lang. Object - com.
azure. storage. file. share. models. HandleItem
- com.
public final class HandleItem
A listed Azure Storage handle item.
Constructor Summary
Constructor | Description |
---|---|
HandleItem() |
Creates an instance of Handle |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Share |
getAccessRights()
Get the access |
String |
getClientIp()
Get the client |
String |
getFileId()
Get the file |
String |
getHandleId()
Get the handle |
Offset |
getLastReconnectTime()
Get the last |
Offset |
getOpenTime()
Get the open |
String |
getParentId()
Get the parent |
String |
getPath()
Get the path property: File or directory name including full path starting from share root. |
String |
getSessionId()
Get the session |
Handle |
setAccessRights(List<ShareFileHandleAccessRights> accessRights)
Set the access |
Handle |
setClientIp(String clientIp)
Set the client |
Handle |
setFileId(String fileId)
Set the file |
Handle |
setHandleId(String handleId)
Set the handle |
Handle |
setLastReconnectTime(OffsetDateTime lastReconnectTime)
Set the last |
Handle |
setOpenTime(OffsetDateTime openTime)
Set the open |
Handle |
setParentId(String parentId)
Set the parent |
Handle |
setPath(String path)
Set the path property: File or directory name including full path starting from share root. |
Handle |
setSessionId(String sessionId)
Set the session |
Methods inherited from java.lang.Object
Constructor Details
HandleItem
public HandleItem()
Creates an instance of HandleItem class.
Method Details
getAccessRights
public List
Get the accessRights property: The ShareFileHandleAccessRights property.
Returns:
getClientIp
public String getClientIp()
Get the clientIp property: Client IP that opened the handle.
Returns:
getFileId
public String getFileId()
Get the fileId property: FileId uniquely identifies the file or directory.
Returns:
getHandleId
public String getHandleId()
Get the handleId property: XSMB service handle ID.
Returns:
getLastReconnectTime
public OffsetDateTime getLastReconnectTime()
Get the lastReconnectTime property: Time handle was last connected to (UTC).
Returns:
getOpenTime
public OffsetDateTime getOpenTime()
Get the openTime property: Time when the session that previously opened the handle has last been reconnected. (UTC).
Returns:
getParentId
public String getParentId()
Get the parentId property: ParentId uniquely identifies the parent directory of the object.
Returns:
getPath
public String getPath()
Get the path property: File or directory name including full path starting from share root.
Returns:
getSessionId
public String getSessionId()
Get the sessionId property: SMB session ID in context of which the file handle was opened.
Returns:
setAccessRights
public HandleItem setAccessRights(List
Set the accessRights property: The ShareFileHandleAccessRights property.
Parameters:
Returns:
setClientIp
public HandleItem setClientIp(String clientIp)
Set the clientIp property: Client IP that opened the handle.
Parameters:
Returns:
setFileId
public HandleItem setFileId(String fileId)
Set the fileId property: FileId uniquely identifies the file or directory.
Parameters:
Returns:
setHandleId
public HandleItem setHandleId(String handleId)
Set the handleId property: XSMB service handle ID.
Parameters:
Returns:
setLastReconnectTime
public HandleItem setLastReconnectTime(OffsetDateTime lastReconnectTime)
Set the lastReconnectTime property: Time handle was last connected to (UTC).
Parameters:
Returns:
setOpenTime
public HandleItem setOpenTime(OffsetDateTime openTime)
Set the openTime property: Time when the session that previously opened the handle has last been reconnected. (UTC).
Parameters:
Returns:
setParentId
public HandleItem setParentId(String parentId)
Set the parentId property: ParentId uniquely identifies the parent directory of the object.
Parameters:
Returns:
setPath
public HandleItem setPath(String path)
Set the path property: File or directory name including full path starting from share root.
Parameters:
Returns:
setSessionId
public HandleItem setSessionId(String sessionId)
Set the sessionId property: SMB session ID in context of which the file handle was opened.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for