Skip to content

Commit f122f4c

Browse files
authored
Updated docs for append blob sealed (Azure#17275)
1 parent 3c80fd4 commit f122f4c

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlobDownloadHeaders.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,8 @@ public final class BlobDownloadHeaders {
320320
private String errorCode;
321321

322322
/*
323-
* The isSealed property.
323+
* The isSealed property. Whether or not the blob is sealed (marked as read only).
324+
* This is only returned for Append blobs.
324325
*/
325326
@JsonProperty(value = "IsSealed")
326327
private Boolean sealed;
@@ -1267,7 +1268,7 @@ public BlobDownloadHeaders setErrorCode(String errorCode) {
12671268
/**
12681269
* Get the sealed property: The sealed property.
12691270
*
1270-
* @return the isSealed value.
1271+
* @return Whether or not the blob is sealed (marked as read only). This is only applicable for Append blobs.
12711272
*/
12721273
public Boolean isSealed() {
12731274
return this.sealed;
@@ -1276,7 +1277,7 @@ public Boolean isSealed() {
12761277
/**
12771278
* Set the sealed property: The sealed property.
12781279
*
1279-
* @param sealed the sealed value to set.
1280+
* @param sealed Whether or not the blob is sealed (marked as read only). This is only applicable for Append blobs.
12801281
* @return the BlobDownloadHeaders object itself.
12811282
*/
12821283
public BlobDownloadHeaders setSealed(Boolean sealed) {

sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlobItemProperties.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,8 @@ public final class BlobItemProperties {
225225
private RehydratePriority rehydratePriority;
226226

227227
/*
228-
* The sealed property.
228+
* The sealed property. Whether or not the blob is sealed (marked as read only).
229+
* This is only returned for Append blobs.
229230
*/
230231
@JsonProperty(value = "Sealed")
231232
private Boolean sealed;
@@ -948,7 +949,7 @@ public BlobItemProperties setRehydratePriority(RehydratePriority rehydratePriori
948949
/**
949950
* Get the sealed property: The sealed property.
950951
*
951-
* @return the isSealed value.
952+
* @return Whether or not the blob is sealed (marked as read only). This is only applicable for Append blobs.
952953
*/
953954
public Boolean isSealed() {
954955
return this.sealed;
@@ -957,7 +958,7 @@ public Boolean isSealed() {
957958
/**
958959
* Set the sealed property: The sealed property.
959960
*
960-
* @param sealed the sealed value to set.
961+
* @param sealed Whether or not the blob is sealed (marked as read only). This is only applicable for Append blobs.
961962
* @return the BlobItemProperties object itself.
962963
*/
963964
public BlobItemProperties setSealed(Boolean sealed) {

sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlobProperties.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,8 @@ public RehydratePriority getRehydratePriority() {
635635
}
636636

637637
/**
638-
* @return the flag indicating whether or not this blob has been sealed.
638+
* @return the flag indicating whether or not this blob has been sealed (marked as read only).
639+
* This is only returned for Append blobs.
639640
*/
640641
public Boolean isSealed() {
641642
return isSealed;

sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/options/BlobBeginCopyOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public BlobBeginCopyOptions setPollInterval(Duration pollInterval) {
160160

161161
/**
162162
* Only applicable for Append Blobs.
163-
* @return Whether or not the destination blob should be sealed.
163+
* @return Whether or not the destination blob should be sealed (marked as read only).
164164
*/
165165
public Boolean isSealDestination() {
166166
return sealDestination;
@@ -169,7 +169,7 @@ public Boolean isSealDestination() {
169169
/**
170170
* Only applicable for Append Blobs.
171171
*
172-
* @param sealDestination Whether or not the destination blob should be sealed.
172+
* @param sealDestination Whether or not the destination blob should be sealed (marked as read only).
173173
* @return The updated options.
174174
*/
175175
public BlobBeginCopyOptions setSealDestination(Boolean sealDestination) {

0 commit comments

Comments
 (0)