FaceAPI Interface
public interface FaceAPI
The interface for FaceAPI class.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
acceptLanguage()
Gets Gets or sets the preferred language for the response.. |
Azure |
azureRegion()
Gets Supported Azure regions for Cognitive Services endpoints. Possible values include: 'westus', 'westeurope', 'southeastasia', 'eastus2', 'westcentralus', 'westus2', 'eastus', 'southcentralus', 'northeurope', 'eastasia', 'australiaeast', 'brazilsouth'. |
Face |
faceLists()
Gets the FaceLists object to access its operations. |
Faces |
faces()
Gets the Faces object to access its operations. |
boolean |
generateClientRequestId()
Gets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.. |
AzureClient |
getAzureClient()
Gets the AzureClient used for long running operations. |
int |
longRunningOperationRetryTimeout()
Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.. |
Person |
personGroupPersons()
Gets the PersonGroupPersons object to access its operations. |
Person |
personGroups()
Gets the PersonGroups object to access its operations. |
RestClient |
restClient()
Gets the REST client. |
String |
userAgent()
Gets the User-Agent header for the client. |
FaceAPI |
withAcceptLanguage(String acceptLanguage)
Sets Gets or sets the preferred language for the response.. |
FaceAPI |
withAzureRegion(AzureRegions azureRegion)
Sets Supported Azure regions for Cognitive Services endpoints. Possible values include: 'westus', 'westeurope', 'southeastasia', 'eastus2', 'westcentralus', 'westus2', 'eastus', 'southcentralus', 'northeurope', 'eastasia', 'australiaeast', 'brazilsouth'. |
FaceAPI |
withGenerateClientRequestId(boolean generateClientRequestId)
Sets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.. |
FaceAPI |
withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout)
Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.. |
Method Details
acceptLanguage
public String acceptLanguage()
Gets Gets or sets the preferred language for the response..
Returns:
azureRegion
public AzureRegions azureRegion()
Gets Supported Azure regions for Cognitive Services endpoints. Possible values include: 'westus', 'westeurope', 'southeastasia', 'eastus2', 'westcentralus', 'westus2', 'eastus', 'southcentralus', 'northeurope', 'eastasia', 'australiaeast', 'brazilsouth'.
Returns:
faceLists
public FaceLists faceLists()
Gets the FaceLists object to access its operations.
Returns:
faces
public Faces faces()
Gets the Faces object to access its operations.
Returns:
generateClientRequestId
public boolean generateClientRequestId()
Gets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true..
Returns:
getAzureClient
public AzureClient getAzureClient()
Gets the AzureClient used for long running operations.
Returns:
longRunningOperationRetryTimeout
public int longRunningOperationRetryTimeout()
Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30..
Returns:
personGroupPersons
public PersonGroupPersons personGroupPersons()
Gets the PersonGroupPersons object to access its operations.
Returns:
personGroups
public PersonGroups personGroups()
Gets the PersonGroups object to access its operations.
Returns:
restClient
public RestClient restClient()
Gets the REST client.
Returns:
userAgent
public String userAgent()
Gets the User-Agent header for the client.
Returns:
withAcceptLanguage
public FaceAPI withAcceptLanguage(String acceptLanguage)
Sets Gets or sets the preferred language for the response..
Parameters:
Returns:
withAzureRegion
public FaceAPI withAzureRegion(AzureRegions azureRegion)
Sets Supported Azure regions for Cognitive Services endpoints. Possible values include: 'westus', 'westeurope', 'southeastasia', 'eastus2', 'westcentralus', 'westus2', 'eastus', 'southcentralus', 'northeurope', 'eastasia', 'australiaeast', 'brazilsouth'.
Parameters:
Returns:
withGenerateClientRequestId
public FaceAPI withGenerateClientRequestId(boolean generateClientRequestId)
Sets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true..
Parameters:
Returns:
withLongRunningOperationRetryTimeout
public FaceAPI withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout)
Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30..
Parameters:
Returns:
Applies to
Azure SDK for Java