Package com.azure.storage.blob.options
Class PageBlobCopyIncrementalOptions
java.lang.Object
com.azure.storage.blob.options.PageBlobCopyIncrementalOptions
Extended options that may be passed when incrementally copying a Page Blob.
-
Constructor Summary
ConstructorsConstructorDescriptionPageBlobCopyIncrementalOptions
(String source, String snapshot) Creates a new instance ofPageBlobCopyIncrementalOptions
. -
Method Summary
Modifier and TypeMethodDescriptionGets thePageBlobCopyIncrementalRequestConditions
for the destination.Gets the snapshot on the copy source.Gets the source page blob.setRequestConditions
(PageBlobCopyIncrementalRequestConditions requestConditions) Sets thePageBlobCopyIncrementalRequestConditions
for the blob.
-
Constructor Details
-
PageBlobCopyIncrementalOptions
Creates a new instance ofPageBlobCopyIncrementalOptions
.- Parameters:
source
- The source page blob.snapshot
- The snapshot on the copy source.- Throws:
NullPointerException
- Ifsource
orsnapshot
is null.
-
-
Method Details
-
getSource
Gets the source page blob.- Returns:
- The source page blob.
-
getSnapshot
Gets the snapshot on the copy source.- Returns:
- The snapshot on the copy source.
-
getRequestConditions
Gets thePageBlobCopyIncrementalRequestConditions
for the destination.- Returns:
PageBlobCopyIncrementalRequestConditions
for the destination.
-
setRequestConditions
public PageBlobCopyIncrementalOptions setRequestConditions(PageBlobCopyIncrementalRequestConditions requestConditions) Sets thePageBlobCopyIncrementalRequestConditions
for the blob.- Parameters:
requestConditions
-PageBlobCopyIncrementalRequestConditions
for the blob.- Returns:
- The updated options.
-