ContentModeratorManager Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. contentmoderator. ContentModeratorManager
- com.
public class ContentModeratorManager
Entry point to Azure Cognitive Services Content Moderator manager.
Method Summary
Modifier and Type | Method and Description |
---|---|
Content |
authenticate(AzureRegionBaseUrl baseUrl, ServiceClientCredentials credentials)
Initializes an instance of Content Moderator API client. |
Content |
authenticate(AzureRegionBaseUrl baseUrl, String subscriptionKey)
Initializes an instance of Content Moderator API client. |
Content |
authenticate(RestClient restClient)
Initializes an instance of Content Moderator API client. |
Content |
authenticate(String baseUrl, final String subscriptionKey)
Initializes an instance of Content Moderator API client. |
Content |
authenticate(String baseUrl, ServiceClientCredentials credentials)
Initializes an instance of Content Moderator API client. |
Method Details
authenticate
public static ContentModeratorClient authenticate(AzureRegionBaseUrl baseUrl, ServiceClientCredentials credentials)
Initializes an instance of Content Moderator API client.
Parameters:
Returns:
authenticate
public static ContentModeratorClient authenticate(AzureRegionBaseUrl baseUrl, String subscriptionKey)
Initializes an instance of Content Moderator API client.
Parameters:
Returns:
authenticate
public static ContentModeratorClient authenticate(RestClient restClient)
Initializes an instance of Content Moderator API client.
Parameters:
Returns:
authenticate
public static ContentModeratorClient authenticate(String baseUrl, final String subscriptionKey)
Initializes an instance of Content Moderator API client.
Parameters:
Returns:
authenticate
public static ContentModeratorClient authenticate(String baseUrl, ServiceClientCredentials credentials)
Initializes an instance of Content Moderator API client.
Parameters:
Returns: