Class ShareFileListRangesDiffOptions
- java.lang.Object
-
- com.azure.storage.file.share.options.ShareFileListRangesDiffOptions
-
public class ShareFileListRangesDiffOptions extends Object
Extended options that may be passed when listing ranges for a File.
-
-
Constructor Summary
Constructors Constructor Description ShareFileListRangesDiffOptions(String previousSnapshot)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPreviousSnapshot()
ShareFileRange
getRange()
ShareRequestConditions
getRequestConditions()
ShareFileListRangesDiffOptions
setRange(ShareFileRange range)
ShareFileListRangesDiffOptions
setRequestConditions(ShareRequestConditions requestConditions)
-
-
-
Constructor Detail
-
ShareFileListRangesDiffOptions
public ShareFileListRangesDiffOptions(String previousSnapshot)
- Parameters:
previousSnapshot
- Specifies that the response will contain only ranges that were changed between target file and previous snapshot. Changed ranges include both updated and cleared ranges. The target file may be a snapshot, as long as the snapshot specified by previousSnapshot is the older of the two.
-
-
Method Detail
-
getRange
public ShareFileRange getRange()
- Returns:
- The range of bytes over which to list ranges, inclusively.
-
setRange
public ShareFileListRangesDiffOptions setRange(ShareFileRange range)
- Parameters:
range
- The range of bytes over which to list ranges, inclusively.- Returns:
- The updated options.
-
getPreviousSnapshot
public String getPreviousSnapshot()
- Returns:
- The previous snapshot to compare to.
-
getRequestConditions
public ShareRequestConditions getRequestConditions()
- Returns:
ShareRequestConditions
-
setRequestConditions
public ShareFileListRangesDiffOptions setRequestConditions(ShareRequestConditions requestConditions)
- Parameters:
requestConditions
-ShareRequestConditions
for the file.- Returns:
- The updated options.
-
-