Compartilhar via


ShareFileMetadataInfo Class

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

public class ShareFileMetadataInfo

This class contains the response information returned from the service when metadata is set on a file.

Constructor Summary

Constructor Description
ShareFileMetadataInfo(String eTag, Boolean isServerEncrypted)

Constructs a ShareFileMetadataInfo.

Method Summary

Modifier and Type Method and Description
String getETag()

Gets the ETag of the file.

Boolean isServerEncrypted()

Gets the encryption status of the file's content on the server.

Methods inherited from java.lang.Object

Constructor Details

ShareFileMetadataInfo

public ShareFileMetadataInfo(String eTag, Boolean isServerEncrypted)

Constructs a ShareFileMetadataInfo.

Parameters:

eTag - ETag of the file.
isServerEncrypted - Flag indicating if the file's content is encrypted on the server.

Method Details

getETag

public String getETag()

Gets the ETag of the file.

Returns:

the ETag of the file.

isServerEncrypted

public Boolean isServerEncrypted()

Gets the encryption status of the file's content on the server.

Returns:

the encryption status of the file's content on the server.

Applies to