Class ApiProperties
java.lang.Object
com.azure.resourcemanager.cognitiveservices.models.ApiProperties
The api properties for special APIs.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the aadClientId property: (Metrics Advisor Only) The Azure AD Client Id (Application Id).Get the aadTenantId property: (Metrics Advisor Only) The Azure AD Tenant Id.Get the additionalProperties property: The api properties for special APIs.Get the eventHubConnectionString property: (Personalization Only) The flag to enable statistics of Bing Search.Get the qnaAzureSearchEndpointId property: (QnAMaker Only) The Azure Search endpoint id of QnAMaker.Get the qnaAzureSearchEndpointKey property: (QnAMaker Only) The Azure Search endpoint key of QnAMaker.Get the qnaRuntimeEndpoint property: (QnAMaker Only) The runtime endpoint of QnAMaker.Get the statisticsEnabled property: (Bing Search Only) The flag to enable statistics of Bing Search.Get the storageAccountConnectionString property: (Personalization Only) The storage account connection string.Get the superUser property: (Metrics Advisor Only) The super user of Metrics Advisor.void
validate()
Validates the instance.Get the websiteName property: (Metrics Advisor Only) The website name of Metrics Advisor.withAadClientId
(String aadClientId) Set the aadClientId property: (Metrics Advisor Only) The Azure AD Client Id (Application Id).withAadTenantId
(String aadTenantId) Set the aadTenantId property: (Metrics Advisor Only) The Azure AD Tenant Id.withAdditionalProperties
(Map<String, Object> additionalProperties) Set the additionalProperties property: The api properties for special APIs.withEventHubConnectionString
(String eventHubConnectionString) Set the eventHubConnectionString property: (Personalization Only) The flag to enable statistics of Bing Search.withQnaAzureSearchEndpointId
(String qnaAzureSearchEndpointId) Set the qnaAzureSearchEndpointId property: (QnAMaker Only) The Azure Search endpoint id of QnAMaker.withQnaAzureSearchEndpointKey
(String qnaAzureSearchEndpointKey) Set the qnaAzureSearchEndpointKey property: (QnAMaker Only) The Azure Search endpoint key of QnAMaker.withQnaRuntimeEndpoint
(String qnaRuntimeEndpoint) Set the qnaRuntimeEndpoint property: (QnAMaker Only) The runtime endpoint of QnAMaker.withStatisticsEnabled
(Boolean statisticsEnabled) Set the statisticsEnabled property: (Bing Search Only) The flag to enable statistics of Bing Search.withStorageAccountConnectionString
(String storageAccountConnectionString) Set the storageAccountConnectionString property: (Personalization Only) The storage account connection string.withSuperUser
(String superUser) Set the superUser property: (Metrics Advisor Only) The super user of Metrics Advisor.withWebsiteName
(String websiteName) Set the websiteName property: (Metrics Advisor Only) The website name of Metrics Advisor.
-
Constructor Details
-
ApiProperties
public ApiProperties()
-
-
Method Details
-
qnaRuntimeEndpoint
Get the qnaRuntimeEndpoint property: (QnAMaker Only) The runtime endpoint of QnAMaker.- Returns:
- the qnaRuntimeEndpoint value.
-
withQnaRuntimeEndpoint
Set the qnaRuntimeEndpoint property: (QnAMaker Only) The runtime endpoint of QnAMaker.- Parameters:
qnaRuntimeEndpoint
- the qnaRuntimeEndpoint value to set.- Returns:
- the ApiProperties object itself.
-
qnaAzureSearchEndpointKey
Get the qnaAzureSearchEndpointKey property: (QnAMaker Only) The Azure Search endpoint key of QnAMaker.- Returns:
- the qnaAzureSearchEndpointKey value.
-
withQnaAzureSearchEndpointKey
Set the qnaAzureSearchEndpointKey property: (QnAMaker Only) The Azure Search endpoint key of QnAMaker.- Parameters:
qnaAzureSearchEndpointKey
- the qnaAzureSearchEndpointKey value to set.- Returns:
- the ApiProperties object itself.
-
qnaAzureSearchEndpointId
Get the qnaAzureSearchEndpointId property: (QnAMaker Only) The Azure Search endpoint id of QnAMaker.- Returns:
- the qnaAzureSearchEndpointId value.
-
withQnaAzureSearchEndpointId
Set the qnaAzureSearchEndpointId property: (QnAMaker Only) The Azure Search endpoint id of QnAMaker.- Parameters:
qnaAzureSearchEndpointId
- the qnaAzureSearchEndpointId value to set.- Returns:
- the ApiProperties object itself.
-
statisticsEnabled
Get the statisticsEnabled property: (Bing Search Only) The flag to enable statistics of Bing Search.- Returns:
- the statisticsEnabled value.
-
withStatisticsEnabled
Set the statisticsEnabled property: (Bing Search Only) The flag to enable statistics of Bing Search.- Parameters:
statisticsEnabled
- the statisticsEnabled value to set.- Returns:
- the ApiProperties object itself.
-
eventHubConnectionString
Get the eventHubConnectionString property: (Personalization Only) The flag to enable statistics of Bing Search.- Returns:
- the eventHubConnectionString value.
-
withEventHubConnectionString
Set the eventHubConnectionString property: (Personalization Only) The flag to enable statistics of Bing Search.- Parameters:
eventHubConnectionString
- the eventHubConnectionString value to set.- Returns:
- the ApiProperties object itself.
-
storageAccountConnectionString
Get the storageAccountConnectionString property: (Personalization Only) The storage account connection string.- Returns:
- the storageAccountConnectionString value.
-
withStorageAccountConnectionString
Set the storageAccountConnectionString property: (Personalization Only) The storage account connection string.- Parameters:
storageAccountConnectionString
- the storageAccountConnectionString value to set.- Returns:
- the ApiProperties object itself.
-
aadClientId
Get the aadClientId property: (Metrics Advisor Only) The Azure AD Client Id (Application Id).- Returns:
- the aadClientId value.
-
withAadClientId
Set the aadClientId property: (Metrics Advisor Only) The Azure AD Client Id (Application Id).- Parameters:
aadClientId
- the aadClientId value to set.- Returns:
- the ApiProperties object itself.
-
aadTenantId
Get the aadTenantId property: (Metrics Advisor Only) The Azure AD Tenant Id.- Returns:
- the aadTenantId value.
-
withAadTenantId
Set the aadTenantId property: (Metrics Advisor Only) The Azure AD Tenant Id.- Parameters:
aadTenantId
- the aadTenantId value to set.- Returns:
- the ApiProperties object itself.
-
superUser
Get the superUser property: (Metrics Advisor Only) The super user of Metrics Advisor.- Returns:
- the superUser value.
-
withSuperUser
Set the superUser property: (Metrics Advisor Only) The super user of Metrics Advisor.- Parameters:
superUser
- the superUser value to set.- Returns:
- the ApiProperties object itself.
-
websiteName
Get the websiteName property: (Metrics Advisor Only) The website name of Metrics Advisor.- Returns:
- the websiteName value.
-
withWebsiteName
Set the websiteName property: (Metrics Advisor Only) The website name of Metrics Advisor.- Parameters:
websiteName
- the websiteName value to set.- Returns:
- the ApiProperties object itself.
-
additionalProperties
Get the additionalProperties property: The api properties for special APIs.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: The api properties for special APIs.- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the ApiProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-