AzureFunctionStorageQueue Class

  • java.lang.Object
    • com.azure.ai.agents.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 queueServiceEndpoint, 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 getQueueServiceEndpoint()

Get the queueServiceEndpoint 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 queueServiceEndpoint, String queueName)

Creates an instance of AzureFunctionStorageQueue class.

Parameters:

queueServiceEndpoint - the queueServiceEndpoint 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.

getQueueServiceEndpoint

public String getQueueServiceEndpoint()

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

Returns:

the queueServiceEndpoint value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to