BlobReference Class

  • java.lang.Object
    • com.azure.ai.projects.models.BlobReference

Implements

public final class BlobReference
implements JsonSerializable<BlobReference>

Blob reference details.

Method Summary

Modifier and Type Method and Description
static BlobReference fromJson(JsonReader jsonReader)

Reads an instance of BlobReference from the JsonReader.

String getBlobUrl()

Get the blobUrl property: Blob URI path for client to upload data.

BlobReferenceSasCredential getCredential()

Get the credential property: Credential info to access the storage account.

String getStorageAccountArmId()

Get the storageAccountArmId property: ARM ID of the storage account to use.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static BlobReference fromJson(JsonReader jsonReader)

Reads an instance of BlobReference from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of BlobReference if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getBlobUrl

public String getBlobUrl()

Get the blobUrl property: Blob URI path for client to upload data. Example: `https://blob.windows.core.net/Container/Path`.

Returns:

the blobUrl value.

getCredential

public BlobReferenceSasCredential getCredential()

Get the credential property: Credential info to access the storage account.

Returns:

the credential value.

getStorageAccountArmId

public String getStorageAccountArmId()

Get the storageAccountArmId property: ARM ID of the storage account to use.

Returns:

the storageAccountArmId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to