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 thePageBlobCopyIncrementalRequestConditionsfor the destination.Gets the snapshot on the copy source.Gets the source page blob.setRequestConditions(PageBlobCopyIncrementalRequestConditions requestConditions) Sets thePageBlobCopyIncrementalRequestConditionsfor 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- Ifsourceorsnapshotis 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 thePageBlobCopyIncrementalRequestConditionsfor the destination.- Returns:
PageBlobCopyIncrementalRequestConditionsfor the destination.
-
setRequestConditions
public PageBlobCopyIncrementalOptions setRequestConditions(PageBlobCopyIncrementalRequestConditions requestConditions) Sets thePageBlobCopyIncrementalRequestConditionsfor the blob.- Parameters:
requestConditions-PageBlobCopyIncrementalRequestConditionsfor the blob.- Returns:
- The updated options.
-