azure-docs-sdk-java/docs-ref-autogen/com.azure.storage.blob.opti...

99 строки
7.2 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.storage.blob.options.BlockBlobStageBlockOptions"
fullName: "com.azure.storage.blob.options.BlockBlobStageBlockOptions"
name: "BlockBlobStageBlockOptions"
nameWithType: "BlockBlobStageBlockOptions"
summary: "Extended options that may be passed when staging a block."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **BlockBlobStageBlockOptions**"
constructors:
- uid: "com.azure.storage.blob.options.BlockBlobStageBlockOptions.BlockBlobStageBlockOptions(java.lang.String,com.azure.core.util.BinaryData)"
fullName: "com.azure.storage.blob.options.BlockBlobStageBlockOptions.BlockBlobStageBlockOptions(String base64BlockId, BinaryData data)"
name: "BlockBlobStageBlockOptions(String base64BlockId, BinaryData data)"
nameWithType: "BlockBlobStageBlockOptions.BlockBlobStageBlockOptions(String base64BlockId, BinaryData data)"
parameters:
- description: "The block ID to assign the new block."
name: "base64BlockId"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The data to write to the block. Note that this <code>BinaryData</code> must have defined length\n and must be replayable if retries are enabled (the default), see <xref uid=\"com.azure.core.util.BinaryData.isReplayable*\" data-throw-if-not-resolved=\"false\" data-raw-source=\"BinaryData#isReplayable()\"></xref>."
name: "data"
type: "<xref href=\"com.azure.core.util.BinaryData?alt=com.azure.core.util.BinaryData&text=BinaryData\" data-throw-if-not-resolved=\"False\" />"
syntax: "public BlockBlobStageBlockOptions(String base64BlockId, BinaryData data)"
methods:
- uid: "com.azure.storage.blob.options.BlockBlobStageBlockOptions.getBase64BlockId()"
fullName: "com.azure.storage.blob.options.BlockBlobStageBlockOptions.getBase64BlockId()"
name: "getBase64BlockId()"
nameWithType: "BlockBlobStageBlockOptions.getBase64BlockId()"
syntax: "public String getBase64BlockId()"
returns:
description: "The block ID to assign the new block."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.storage.blob.options.BlockBlobStageBlockOptions.getContentMd5()"
fullName: "com.azure.storage.blob.options.BlockBlobStageBlockOptions.getContentMd5()"
name: "getContentMd5()"
nameWithType: "BlockBlobStageBlockOptions.getContentMd5()"
syntax: "public byte[] getContentMd5()"
returns:
description: "An MD5 hash of the content. This hash is used to verify the integrity of the content during\n transport. When this header is specified, the storage service compares the hash of the content that has arrived\n with this header value. Note that this MD5 hash is not stored with the blob. If the two hashes do not match, the\n operation will fail."
type: "<xref href=\"byte?alt=byte&text=byte\" data-throw-if-not-resolved=\"False\" />[]"
- uid: "com.azure.storage.blob.options.BlockBlobStageBlockOptions.getData()"
fullName: "com.azure.storage.blob.options.BlockBlobStageBlockOptions.getData()"
name: "getData()"
nameWithType: "BlockBlobStageBlockOptions.getData()"
syntax: "public BinaryData getData()"
returns:
description: "The data to write to the blob."
type: "<xref href=\"com.azure.core.util.BinaryData?alt=com.azure.core.util.BinaryData&text=BinaryData\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.blob.options.BlockBlobStageBlockOptions.getLeaseId()"
fullName: "com.azure.storage.blob.options.BlockBlobStageBlockOptions.getLeaseId()"
name: "getLeaseId()"
nameWithType: "BlockBlobStageBlockOptions.getLeaseId()"
syntax: "public String getLeaseId()"
returns:
description: "Lease ID for accessing source content."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.storage.blob.options.BlockBlobStageBlockOptions.setContentMd5(byte[])"
fullName: "com.azure.storage.blob.options.BlockBlobStageBlockOptions.setContentMd5(byte[] contentMd5)"
name: "setContentMd5(byte[] contentMd5)"
nameWithType: "BlockBlobStageBlockOptions.setContentMd5(byte[] contentMd5)"
parameters:
- description: "An MD5 hash of the block content. This hash is used to verify the integrity of the block during\n transport. When this header is specified, the storage service compares the hash of the content that has arrived\n with this header value. Note that this MD5 hash is not stored with the blob. If the two hashes do not match, the\n operation will fail."
name: "contentMd5"
type: "<xref href=\"byte?alt=byte&text=byte\" data-throw-if-not-resolved=\"False\" />[]"
syntax: "public BlockBlobStageBlockOptions setContentMd5(byte[] contentMd5)"
returns:
description: "The updated options"
type: "<xref href=\"com.azure.storage.blob.options.BlockBlobStageBlockOptions?alt=com.azure.storage.blob.options.BlockBlobStageBlockOptions&text=BlockBlobStageBlockOptions\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.blob.options.BlockBlobStageBlockOptions.setLeaseId(java.lang.String)"
fullName: "com.azure.storage.blob.options.BlockBlobStageBlockOptions.setLeaseId(String leaseId)"
name: "setLeaseId(String leaseId)"
nameWithType: "BlockBlobStageBlockOptions.setLeaseId(String leaseId)"
parameters:
- description: "Lease ID for accessing source content."
name: "leaseId"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public BlockBlobStageBlockOptions setLeaseId(String leaseId)"
returns:
description: "The updated options."
type: "<xref href=\"com.azure.storage.blob.options.BlockBlobStageBlockOptions?alt=com.azure.storage.blob.options.BlockBlobStageBlockOptions&text=BlockBlobStageBlockOptions\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Extended options that may be passed when staging a block."
metadata: {}
package: "com.azure.storage.blob.options"
artifact: com.azure:azure-storage-blob:12.28.1