ShareDirectoryInfo Class

  • java.lang.Object
    • com.azure.storage.file.share.models.ShareDirectoryInfo

public final class ShareDirectoryInfo

Contains information about a Directory in the storage File service.

Constructor Summary

Constructor Description
ShareDirectoryInfo(String eTag, OffsetDateTime lastModified, FileSmbProperties smbProperties)

Creates an instance of information about a specific Directory.

Method Summary

Modifier and Type Method and Description
String getETag()

Gets the entity tag that corresponds to the directory.

OffsetDateTime getLastModified()

Gets the last time the directory was modified.

FileSmbProperties getSmbProperties()

Gets the SMB properties of the directory.

Methods inherited from java.lang.Object

Constructor Details

ShareDirectoryInfo

public ShareDirectoryInfo(String eTag, OffsetDateTime lastModified, FileSmbProperties smbProperties)

Creates an instance of information about a specific Directory.

Parameters:

eTag - Entity tag that corresponds to the directory.
lastModified - Last time the directory was modified.
smbProperties - The SMB properties of the directory.

Method Details

getETag

public String getETag()

Gets the entity tag that corresponds to the directory.

Returns:

The entity tag that corresponds to the directory.

getLastModified

public OffsetDateTime getLastModified()

Gets the last time the directory was modified.

Returns:

The last time the share was modified.

getSmbProperties

public FileSmbProperties getSmbProperties()

Gets the SMB properties of the directory.

Returns:

The SMB Properties of the directory.

Applies to