BlockBlobStageBlockOptions Class
- java.
lang. Object - com.
azure. storage. blob. options. BlockBlobStageBlockOptions
- com.
public final class BlockBlobStageBlockOptions
Extended options that may be passed when staging a block.
Constructor Summary
Constructor | Description | |
---|---|---|
BlockBlobStageBlockOptions(String base64BlockId, BinaryData data) |
Method Summary
Modifier and Type | Method and Description |
---|---|
String | getBase64BlockId() |
byte[] | getContentMd5() |
Binary |
getData() |
String | getLeaseId() |
Block |
setContentMd5(byte[] contentMd5) |
Block |
setLeaseId(String leaseId) |
Methods inherited from java.lang.Object
Constructor Details
BlockBlobStageBlockOptions
public BlockBlobStageBlockOptions(String base64BlockId, BinaryData data)
Parameters:
BinaryData
must have defined length
and must be replayable if retries are enabled (the default), see BinaryData#isReplayable().
Method Details
getBase64BlockId
public String getBase64BlockId()
Returns:
getContentMd5
public byte[] getContentMd5()
Returns:
getData
public BinaryData getData()
Returns:
getLeaseId
public String getLeaseId()
Returns:
setContentMd5
public BlockBlobStageBlockOptions setContentMd5(byte[] contentMd5)
Parameters:
Returns:
setLeaseId
public BlockBlobStageBlockOptions setLeaseId(String leaseId)
Parameters:
Returns:
Applies to
Azure SDK for Java
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по