CloudBlockBlob Constructors

Definition

Overloads

CloudBlockBlob(final CloudBlockBlob otherBlob)

Creates an instance of the class by copying values from another cloud block blob.

CloudBlockBlob(final StorageUri blobAbsoluteUri)

Creates an instance of the class using the specified absolute StorageUri.

CloudBlockBlob(final StorageUri blobAbsoluteUri, final StorageCredentials credentials)

Creates an instance of the class using the specified absolute StorageUri and credentials.

CloudBlockBlob(final StorageUri blobAbsoluteUri, final String snapshotID, final StorageCredentials credentials)

Creates an instance of the class using the specified absolute StorageUri, snapshot ID, and credentials.

CloudBlockBlob(final URI blobAbsoluteUri)

Creates an instance of the class using the specified absolute URI.

CloudBlockBlob(final URI blobAbsoluteUri, final StorageCredentials credentials)

Creates an instance of the class using the specified absolute URI and credentials.

CloudBlockBlob(final URI blobAbsoluteUri, final String snapshotID, final StorageCredentials credentials)

Creates an instance of the class using the specified absolute URI, snapshot ID, and credentials.

CloudBlockBlob(String blobName, String snapshotID, CloudBlobContainer container)

Creates an instance of the class using the specified type, name, snapshot ID, and container.

CloudBlockBlob(final CloudBlockBlob otherBlob)

Creates an instance of the class by copying values from another cloud block blob.

public CloudBlockBlob(final CloudBlockBlob otherBlob)
Parameters
otherBlob
final CloudBlockBlob

A CloudBlockBlob object that represents the block blob to copy.

CloudBlockBlob(final StorageUri blobAbsoluteUri)

Creates an instance of the class using the specified absolute StorageUri.

public CloudBlockBlob(final StorageUri blobAbsoluteUri)
Parameters
blobAbsoluteUri
final StorageUri

A StorageUri object that represents the absolute URI to the blob.

Exceptions

If a storage service error occurred.

CloudBlockBlob(final StorageUri blobAbsoluteUri, final StorageCredentials credentials)

Creates an instance of the class using the specified absolute StorageUri and credentials.

public CloudBlockBlob(final StorageUri blobAbsoluteUri, final StorageCredentials credentials)
Parameters
blobAbsoluteUri
final StorageUri

A StorageUri object that represents the absolute StorageUri to the blob.

credentials
final StorageCredentials

A StorageCredentials object used to authenticate access.

Exceptions

If a storage service error occurred.

CloudBlockBlob(final StorageUri blobAbsoluteUri, final String snapshotID, final StorageCredentials credentials)

Creates an instance of the class using the specified absolute StorageUri, snapshot ID, and credentials.

public CloudBlockBlob(final StorageUri blobAbsoluteUri, final String snapshotID, final StorageCredentials credentials)
Parameters
blobAbsoluteUri
final StorageUri

A StorageUri object that represents the absolute StorageUri to the blob.

snapshotID
final String

A String that represents the snapshot version, if applicable.

credentials
final StorageCredentials

A StorageCredentials object used to authenticate access.

Exceptions

If a storage service error occurred.

CloudBlockBlob(final URI blobAbsoluteUri)

Creates an instance of the class using the specified absolute URI.

public CloudBlockBlob(final URI blobAbsoluteUri)
Parameters
blobAbsoluteUri
final URI

A java.net.URI object that represents the absolute URI to the blob.

Exceptions

If a storage service error occurred.

CloudBlockBlob(final URI blobAbsoluteUri, final StorageCredentials credentials)

Creates an instance of the class using the specified absolute URI and credentials.

public CloudBlockBlob(final URI blobAbsoluteUri, final StorageCredentials credentials)
Parameters
blobAbsoluteUri
final URI

A java.net.URI object that represents the absolute URI to the blob.

credentials
final StorageCredentials

A StorageCredentials object used to authenticate access.

Exceptions

If a storage service error occurred.

CloudBlockBlob(final URI blobAbsoluteUri, final String snapshotID, final StorageCredentials credentials)

Creates an instance of the class using the specified absolute URI, snapshot ID, and credentials.

public CloudBlockBlob(final URI blobAbsoluteUri, final String snapshotID, final StorageCredentials credentials)
Parameters
blobAbsoluteUri
final URI

A java.net.URI object that represents the absolute URI to the blob.

snapshotID
final String

A String that represents the snapshot version, if applicable.

credentials
final StorageCredentials

A StorageCredentials object used to authenticate access.

Exceptions

If a storage service error occurred.

CloudBlockBlob(String blobName, String snapshotID, CloudBlobContainer container)

Creates an instance of the class using the specified type, name, snapshot ID, and container.

protected CloudBlockBlob(String blobName, String snapshotID, CloudBlobContainer container)
Parameters
blobName
String

Name of the blob.

snapshotID
String

A String that represents the snapshot version, if applicable.

container
CloudBlobContainer

The reference to the parent container.

Exceptions
URISyntaxException

If the resource URI is invalid.

Applies to