ShareFileListRangesDiffOptions Class
- java.
lang. Object - com.
azure. storage. file. share. options. ShareFileListRangesDiffOptions
- com.
public class ShareFileListRangesDiffOptions
Extended options that may be passed when listing ranges for a File.
Constructor Summary
Constructor | Description | |
---|---|---|
ShareFileListRangesDiffOptions(String previousSnapshot) |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
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 Details
getPreviousSnapshot
public String getPreviousSnapshot()
Returns:
The previous snapshot to compare to.
getRange
public ShareFileRange getRange()
Returns:
The range of bytes over which to list ranges, inclusively.
getRequestConditions
setRange
public ShareFileListRangesDiffOptions setRange(ShareFileRange range)
Parameters:
range
- The range of bytes over which to list ranges, inclusively.
Returns:
The updated options.
setRequestConditions
public ShareFileListRangesDiffOptions setRequestConditions(ShareRequestConditions requestConditions)
Parameters:
requestConditions
- ShareRequestConditions for the file.
Returns:
The updated options.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for