AzureFunctionStorageQueue Class

  • java.lang.Object
    • com.azure.ai.agents.persistent.models.AzureFunctionStorageQueue

Implements

public final class AzureFunctionStorageQueue
implements JsonSerializable<AzureFunctionStorageQueue>

The structure for keeping storage queue name and URI.

Constructor Summary

Constructor Description
AzureFunctionStorageQueue(String storageServiceEndpoint, String queueName)

Creates an instance of AzureFunctionStorageQueue class.

Method Summary

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

Reads an instance of AzureFunctionStorageQueue from the JsonReader.

String getQueueName()

Get the queueName property: The name of an Azure function storage queue.

String getStorageServiceEndpoint()

Get the storageServiceEndpoint property: URI to the Azure Storage Queue service allowing you to manipulate a queue.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

AzureFunctionStorageQueue

public AzureFunctionStorageQueue(String storageServiceEndpoint, String queueName)

Creates an instance of AzureFunctionStorageQueue class.

Parameters:

storageServiceEndpoint - the storageServiceEndpoint value to set.
queueName - the queueName value to set.

Method Details

fromJson

public static AzureFunctionStorageQueue fromJson(JsonReader jsonReader)

Reads an instance of AzureFunctionStorageQueue from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AzureFunctionStorageQueue 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.

getQueueName

public String getQueueName()

Get the queueName property: The name of an Azure function storage queue.

Returns:

the queueName value.

getStorageServiceEndpoint

public String getStorageServiceEndpoint()

Get the storageServiceEndpoint property: URI to the Azure Storage Queue service allowing you to manipulate a queue.

Returns:

the storageServiceEndpoint value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to