Partilhar via


ShareInfo Class

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

public final class ShareInfo

Contains information about a Share in the storage File service.

Constructor Summary

Constructor Description
ShareInfo(String eTag, OffsetDateTime lastModified)

Creates an instance of information about a specific Share.

Method Summary

Modifier and Type Method and Description
String getETag()

Gets the entity tag that corresponds to the share.

OffsetDateTime getLastModified()

Gets the last time the share was modified.

Methods inherited from java.lang.Object

Constructor Details

ShareInfo

public ShareInfo(String eTag, OffsetDateTime lastModified)

Creates an instance of information about a specific Share.

Parameters:

eTag - Entity tag that corresponds to the share
lastModified - Last time the share was modified

Method Details

getETag

public String getETag()

Gets the entity tag that corresponds to the share.

Returns:

the entity tag that corresponds to the share

getLastModified

public OffsetDateTime getLastModified()

Gets the last time the share was modified.

Returns:

the last time the share was modified

Applies to