CognitiveServicesAccount Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. CognitiveServicesAccount
- com.
Implements
public class CognitiveServicesAccount
implements JsonSerializable<CognitiveServicesAccount>
Base type for describing any Azure AI service resource attached to a skillset.
Constructor Summary
Constructor | Description |
---|---|
CognitiveServicesAccount() |
Creates an instance of Cognitive |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Cognitive |
fromJson(JsonReader jsonReader)
Reads an instance of Cognitive |
String |
getDescription()
Get the description property: Description of the Azure AI service resource attached to a skillset. |
String |
getOdataType()
Get the odata |
Cognitive |
setDescription(String description)
Set the description property: Description of the Azure AI service resource attached to a skillset. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
CognitiveServicesAccount
public CognitiveServicesAccount()
Creates an instance of CognitiveServicesAccount class.
Method Details
fromJson
public static CognitiveServicesAccount fromJson(JsonReader jsonReader)
Reads an instance of CognitiveServicesAccount from the JsonReader.
Parameters:
Returns:
Throws:
getDescription
public String getDescription()
Get the description property: Description of the Azure AI service resource attached to a skillset.
Returns:
getOdataType
public String getOdataType()
Get the odataType property: A URI fragment specifying the type of Azure AI service resource attached to a skillset.
Returns:
setDescription
public CognitiveServicesAccount setDescription(String description)
Set the description property: Description of the Azure AI service resource attached to a skillset.
Parameters:
Returns:
toJson
Applies to
Azure SDK for Java