Share via


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()

Gets the entity tag that corresponds to the directory.

OffsetDateTime getLastModified()

Gets the last time the directory was modified.

Map<String,String> getMetadata()

Gets the metadata associated with the directory.

FileSmbProperties getSmbProperties()

Gets the SMB properties of the directory.

boolean isServerEncrypted()

Gets the value of this header is true if the directory metadata is completely encrypted using the specified algorithm.

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()

Gets the entity tag that corresponds to the directory.

Returns:

Entity tag that corresponds to the directory.

getLastModified

public OffsetDateTime getLastModified()

Gets the last time the directory was modified.

Returns:

Last time the directory was modified.

getMetadata

public Map getMetadata()

Gets the metadata associated with the directory.

Returns:

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

getSmbProperties

public FileSmbProperties getSmbProperties()

Gets the SMB properties of the directory.

Returns:

The SMB Properties of the directory.

isServerEncrypted

public boolean isServerEncrypted()

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

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