ShareDirectoryProperties Class

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

public final class ShareDirectoryProperties

Contains properties information about a Directory in the storage File service.

Constructor Summary

Constructor Description
ShareDirectoryProperties(Map<String,String> metadata, String eTag, OffsetDateTime lastModified, boolean isServerEncrypted, FileSmbProperties smbProperties)

Creates an instance of properties information about a specific Directory.

Method Summary

Modifier and Type Method and Description
String getETag()
OffsetDateTime getLastModified()
Map<String,String> getMetadata()
FileSmbProperties getSmbProperties()
boolean isServerEncrypted()

Methods inherited from java.lang.Object

Constructor Details

ShareDirectoryProperties

public ShareDirectoryProperties(Map metadata, String eTag, OffsetDateTime lastModified, boolean isServerEncrypted, FileSmbProperties smbProperties)

Creates an instance of properties information about a specific Directory.

Parameters:

metadata - A set of name-value pairs that contain metadata for the directory.
eTag - Entity tag that corresponds to the directory.
lastModified - Last time the directory was modified.
isServerEncrypted - The value of this header is set to true if the directory metadata is completely encrypted using the specified algorithm. Otherwise, the value is set to false.
smbProperties - The SMB properties of the directory.

Method Details

getETag

public String getETag()

Returns:

Entity tag that corresponds to the directory.

getLastModified

public OffsetDateTime getLastModified()

Returns:

Entity tag that corresponds to the directory.

getMetadata

public Map getMetadata()

Returns:

A set of name-value pairs that contain metadata for the directory.

getSmbProperties

public FileSmbProperties getSmbProperties()

Returns:

The SMB Properties of the directory.

isServerEncrypted

public boolean isServerEncrypted()

Returns:

The value of this header is true if the directory metadata is completely encrypted using the specified algorithm. Otherwise, the value is false.

Applies to