azure-docs-sdk-java/docs-ref-autogen/com.azure.ai.contentsafety....

212 строки
18 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.ai.contentsafety.BlocklistClientBuilder"
fullName: "com.azure.ai.contentsafety.BlocklistClientBuilder"
name: "BlocklistClientBuilder"
nameWithType: "BlocklistClientBuilder"
summary: "A builder for creating a new instance of the Blocklist<wbr>Client type."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **BlocklistClientBuilder**</br> implements <xref href=\"com.azure.core.client.traits.HttpTrait?alt=com.azure.core.client.traits.HttpTrait&text=HttpTrait\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.ai.contentsafety.BlocklistClientBuilder?alt=com.azure.ai.contentsafety.BlocklistClientBuilder&text=BlocklistClientBuilder\" data-throw-if-not-resolved=\"False\" />&gt;, <xref href=\"com.azure.core.client.traits.ConfigurationTrait?alt=com.azure.core.client.traits.ConfigurationTrait&text=ConfigurationTrait\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.ai.contentsafety.BlocklistClientBuilder?alt=com.azure.ai.contentsafety.BlocklistClientBuilder&text=BlocklistClientBuilder\" data-throw-if-not-resolved=\"False\" />&gt;, <xref href=\"com.azure.core.client.traits.TokenCredentialTrait?alt=com.azure.core.client.traits.TokenCredentialTrait&text=TokenCredentialTrait\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.ai.contentsafety.BlocklistClientBuilder?alt=com.azure.ai.contentsafety.BlocklistClientBuilder&text=BlocklistClientBuilder\" data-throw-if-not-resolved=\"False\" />&gt;, <xref href=\"com.azure.core.client.traits.KeyCredentialTrait?alt=com.azure.core.client.traits.KeyCredentialTrait&text=KeyCredentialTrait\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.ai.contentsafety.BlocklistClientBuilder?alt=com.azure.ai.contentsafety.BlocklistClientBuilder&text=BlocklistClientBuilder\" data-throw-if-not-resolved=\"False\" />&gt;, <xref href=\"com.azure.core.client.traits.EndpointTrait?alt=com.azure.core.client.traits.EndpointTrait&text=EndpointTrait\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.ai.contentsafety.BlocklistClientBuilder?alt=com.azure.ai.contentsafety.BlocklistClientBuilder&text=BlocklistClientBuilder\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.ai.contentsafety.BlocklistClientBuilder.BlocklistClientBuilder()"
fullName: "com.azure.ai.contentsafety.BlocklistClientBuilder.BlocklistClientBuilder()"
name: "BlocklistClientBuilder()"
nameWithType: "BlocklistClientBuilder.BlocklistClientBuilder()"
summary: "Create an instance of the Blocklist<wbr>Client<wbr>Builder."
syntax: "public BlocklistClientBuilder()"
desc: "Create an instance of the BlocklistClientBuilder."
methods:
- uid: "com.azure.ai.contentsafety.BlocklistClientBuilder.addPolicy(com.azure.core.http.policy.HttpPipelinePolicy)"
fullName: "com.azure.ai.contentsafety.BlocklistClientBuilder.addPolicy(HttpPipelinePolicy customPolicy)"
name: "addPolicy(HttpPipelinePolicy customPolicy)"
nameWithType: "BlocklistClientBuilder.addPolicy(HttpPipelinePolicy customPolicy)"
summary: "."
parameters:
- name: "customPolicy"
type: "<xref href=\"com.azure.core.http.policy.HttpPipelinePolicy?alt=com.azure.core.http.policy.HttpPipelinePolicy&text=HttpPipelinePolicy\" data-throw-if-not-resolved=\"False\" />"
syntax: "public BlocklistClientBuilder addPolicy(HttpPipelinePolicy customPolicy)"
desc: "."
returns:
type: "<xref href=\"com.azure.ai.contentsafety.BlocklistClientBuilder?alt=com.azure.ai.contentsafety.BlocklistClientBuilder&text=BlocklistClientBuilder\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.ai.contentsafety.BlocklistClientBuilder.buildAsyncClient()"
fullName: "com.azure.ai.contentsafety.BlocklistClientBuilder.buildAsyncClient()"
name: "buildAsyncClient()"
nameWithType: "BlocklistClientBuilder.buildAsyncClient()"
summary: "Builds an instance of Blocklist<wbr>Async<wbr>Client class."
syntax: "public BlocklistAsyncClient buildAsyncClient()"
desc: "Builds an instance of BlocklistAsyncClient class."
returns:
description: "an instance of BlocklistAsyncClient."
type: "<xref href=\"com.azure.ai.contentsafety.BlocklistAsyncClient?alt=com.azure.ai.contentsafety.BlocklistAsyncClient&text=BlocklistAsyncClient\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.ai.contentsafety.BlocklistClientBuilder.buildClient()"
fullName: "com.azure.ai.contentsafety.BlocklistClientBuilder.buildClient()"
name: "buildClient()"
nameWithType: "BlocklistClientBuilder.buildClient()"
summary: "Builds an instance of Blocklist<wbr>Client class."
syntax: "public BlocklistClient buildClient()"
desc: "Builds an instance of BlocklistClient class."
returns:
description: "an instance of BlocklistClient."
type: "<xref href=\"com.azure.ai.contentsafety.BlocklistClient?alt=com.azure.ai.contentsafety.BlocklistClient&text=BlocklistClient\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.ai.contentsafety.BlocklistClientBuilder.clientOptions(com.azure.core.util.ClientOptions)"
fullName: "com.azure.ai.contentsafety.BlocklistClientBuilder.clientOptions(ClientOptions clientOptions)"
name: "clientOptions(ClientOptions clientOptions)"
nameWithType: "BlocklistClientBuilder.clientOptions(ClientOptions clientOptions)"
summary: "."
parameters:
- name: "clientOptions"
type: "<xref href=\"com.azure.core.util.ClientOptions?alt=com.azure.core.util.ClientOptions&text=ClientOptions\" data-throw-if-not-resolved=\"False\" />"
syntax: "public BlocklistClientBuilder clientOptions(ClientOptions clientOptions)"
desc: "."
returns:
type: "<xref href=\"com.azure.ai.contentsafety.BlocklistClientBuilder?alt=com.azure.ai.contentsafety.BlocklistClientBuilder&text=BlocklistClientBuilder\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.ai.contentsafety.BlocklistClientBuilder.configuration(com.azure.core.util.Configuration)"
fullName: "com.azure.ai.contentsafety.BlocklistClientBuilder.configuration(Configuration configuration)"
name: "configuration(Configuration configuration)"
nameWithType: "BlocklistClientBuilder.configuration(Configuration configuration)"
summary: "."
parameters:
- name: "configuration"
type: "<xref href=\"com.azure.core.util.Configuration?alt=com.azure.core.util.Configuration&text=Configuration\" data-throw-if-not-resolved=\"False\" />"
syntax: "public BlocklistClientBuilder configuration(Configuration configuration)"
desc: "."
returns:
type: "<xref href=\"com.azure.ai.contentsafety.BlocklistClientBuilder?alt=com.azure.ai.contentsafety.BlocklistClientBuilder&text=BlocklistClientBuilder\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.ai.contentsafety.BlocklistClientBuilder.credential(com.azure.core.credential.KeyCredential)"
fullName: "com.azure.ai.contentsafety.BlocklistClientBuilder.credential(KeyCredential keyCredential)"
name: "credential(KeyCredential keyCredential)"
nameWithType: "BlocklistClientBuilder.credential(KeyCredential keyCredential)"
summary: "."
parameters:
- name: "keyCredential"
type: "<xref href=\"com.azure.core.credential.KeyCredential?alt=com.azure.core.credential.KeyCredential&text=KeyCredential\" data-throw-if-not-resolved=\"False\" />"
syntax: "public BlocklistClientBuilder credential(KeyCredential keyCredential)"
desc: "."
returns:
type: "<xref href=\"com.azure.ai.contentsafety.BlocklistClientBuilder?alt=com.azure.ai.contentsafety.BlocklistClientBuilder&text=BlocklistClientBuilder\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.ai.contentsafety.BlocklistClientBuilder.credential(com.azure.core.credential.TokenCredential)"
fullName: "com.azure.ai.contentsafety.BlocklistClientBuilder.credential(TokenCredential tokenCredential)"
name: "credential(TokenCredential tokenCredential)"
nameWithType: "BlocklistClientBuilder.credential(TokenCredential tokenCredential)"
summary: "."
parameters:
- name: "tokenCredential"
type: "<xref href=\"com.azure.core.credential.TokenCredential?alt=com.azure.core.credential.TokenCredential&text=TokenCredential\" data-throw-if-not-resolved=\"False\" />"
syntax: "public BlocklistClientBuilder credential(TokenCredential tokenCredential)"
desc: "."
returns:
type: "<xref href=\"com.azure.ai.contentsafety.BlocklistClientBuilder?alt=com.azure.ai.contentsafety.BlocklistClientBuilder&text=BlocklistClientBuilder\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.ai.contentsafety.BlocklistClientBuilder.endpoint(java.lang.String)"
fullName: "com.azure.ai.contentsafety.BlocklistClientBuilder.endpoint(String endpoint)"
name: "endpoint(String endpoint)"
nameWithType: "BlocklistClientBuilder.endpoint(String endpoint)"
summary: "."
parameters:
- name: "endpoint"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public BlocklistClientBuilder endpoint(String endpoint)"
desc: "."
returns:
type: "<xref href=\"com.azure.ai.contentsafety.BlocklistClientBuilder?alt=com.azure.ai.contentsafety.BlocklistClientBuilder&text=BlocklistClientBuilder\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.ai.contentsafety.BlocklistClientBuilder.httpClient(com.azure.core.http.HttpClient)"
fullName: "com.azure.ai.contentsafety.BlocklistClientBuilder.httpClient(HttpClient httpClient)"
name: "httpClient(HttpClient httpClient)"
nameWithType: "BlocklistClientBuilder.httpClient(HttpClient httpClient)"
summary: "."
parameters:
- name: "httpClient"
type: "<xref href=\"com.azure.core.http.HttpClient?alt=com.azure.core.http.HttpClient&text=HttpClient\" data-throw-if-not-resolved=\"False\" />"
syntax: "public BlocklistClientBuilder httpClient(HttpClient httpClient)"
desc: "."
returns:
type: "<xref href=\"com.azure.ai.contentsafety.BlocklistClientBuilder?alt=com.azure.ai.contentsafety.BlocklistClientBuilder&text=BlocklistClientBuilder\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.ai.contentsafety.BlocklistClientBuilder.httpLogOptions(com.azure.core.http.policy.HttpLogOptions)"
fullName: "com.azure.ai.contentsafety.BlocklistClientBuilder.httpLogOptions(HttpLogOptions httpLogOptions)"
name: "httpLogOptions(HttpLogOptions httpLogOptions)"
nameWithType: "BlocklistClientBuilder.httpLogOptions(HttpLogOptions httpLogOptions)"
summary: "."
parameters:
- name: "httpLogOptions"
type: "<xref href=\"com.azure.core.http.policy.HttpLogOptions?alt=com.azure.core.http.policy.HttpLogOptions&text=HttpLogOptions\" data-throw-if-not-resolved=\"False\" />"
syntax: "public BlocklistClientBuilder httpLogOptions(HttpLogOptions httpLogOptions)"
desc: "."
returns:
type: "<xref href=\"com.azure.ai.contentsafety.BlocklistClientBuilder?alt=com.azure.ai.contentsafety.BlocklistClientBuilder&text=BlocklistClientBuilder\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.ai.contentsafety.BlocklistClientBuilder.pipeline(com.azure.core.http.HttpPipeline)"
fullName: "com.azure.ai.contentsafety.BlocklistClientBuilder.pipeline(HttpPipeline pipeline)"
name: "pipeline(HttpPipeline pipeline)"
nameWithType: "BlocklistClientBuilder.pipeline(HttpPipeline pipeline)"
summary: "."
parameters:
- name: "pipeline"
type: "<xref href=\"com.azure.core.http.HttpPipeline?alt=com.azure.core.http.HttpPipeline&text=HttpPipeline\" data-throw-if-not-resolved=\"False\" />"
syntax: "public BlocklistClientBuilder pipeline(HttpPipeline pipeline)"
desc: "."
returns:
type: "<xref href=\"com.azure.ai.contentsafety.BlocklistClientBuilder?alt=com.azure.ai.contentsafety.BlocklistClientBuilder&text=BlocklistClientBuilder\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.ai.contentsafety.BlocklistClientBuilder.retryOptions(com.azure.core.http.policy.RetryOptions)"
fullName: "com.azure.ai.contentsafety.BlocklistClientBuilder.retryOptions(RetryOptions retryOptions)"
name: "retryOptions(RetryOptions retryOptions)"
nameWithType: "BlocklistClientBuilder.retryOptions(RetryOptions retryOptions)"
summary: "."
parameters:
- name: "retryOptions"
type: "<xref href=\"com.azure.core.http.policy.RetryOptions?alt=com.azure.core.http.policy.RetryOptions&text=RetryOptions\" data-throw-if-not-resolved=\"False\" />"
syntax: "public BlocklistClientBuilder retryOptions(RetryOptions retryOptions)"
desc: "."
returns:
type: "<xref href=\"com.azure.ai.contentsafety.BlocklistClientBuilder?alt=com.azure.ai.contentsafety.BlocklistClientBuilder&text=BlocklistClientBuilder\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.ai.contentsafety.BlocklistClientBuilder.retryPolicy(com.azure.core.http.policy.RetryPolicy)"
fullName: "com.azure.ai.contentsafety.BlocklistClientBuilder.retryPolicy(RetryPolicy retryPolicy)"
name: "retryPolicy(RetryPolicy retryPolicy)"
nameWithType: "BlocklistClientBuilder.retryPolicy(RetryPolicy retryPolicy)"
summary: "Sets The retry policy that will attempt to retry failed requests, if applicable."
parameters:
- description: "the retryPolicy value."
name: "retryPolicy"
type: "<xref href=\"com.azure.core.http.policy.RetryPolicy?alt=com.azure.core.http.policy.RetryPolicy&text=RetryPolicy\" data-throw-if-not-resolved=\"False\" />"
syntax: "public BlocklistClientBuilder retryPolicy(RetryPolicy retryPolicy)"
desc: "Sets The retry policy that will attempt to retry failed requests, if applicable."
returns:
description: "the BlocklistClientBuilder."
type: "<xref href=\"com.azure.ai.contentsafety.BlocklistClientBuilder?alt=com.azure.ai.contentsafety.BlocklistClientBuilder&text=BlocklistClientBuilder\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.ai.contentsafety.BlocklistClientBuilder.serviceVersion(com.azure.ai.contentsafety.ContentSafetyServiceVersion)"
fullName: "com.azure.ai.contentsafety.BlocklistClientBuilder.serviceVersion(ContentSafetyServiceVersion serviceVersion)"
name: "serviceVersion(ContentSafetyServiceVersion serviceVersion)"
nameWithType: "BlocklistClientBuilder.serviceVersion(ContentSafetyServiceVersion serviceVersion)"
summary: "Sets Service version."
parameters:
- description: "the serviceVersion value."
name: "serviceVersion"
type: "<xref href=\"com.azure.ai.contentsafety.ContentSafetyServiceVersion?alt=com.azure.ai.contentsafety.ContentSafetyServiceVersion&text=ContentSafetyServiceVersion\" data-throw-if-not-resolved=\"False\" />"
syntax: "public BlocklistClientBuilder serviceVersion(ContentSafetyServiceVersion serviceVersion)"
desc: "Sets Service version."
returns:
description: "the BlocklistClientBuilder."
type: "<xref href=\"com.azure.ai.contentsafety.BlocklistClientBuilder?alt=com.azure.ai.contentsafety.BlocklistClientBuilder&text=BlocklistClientBuilder\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "A builder for creating a new instance of the BlocklistClient type."
implements:
- "<xref href=\"com.azure.core.client.traits.ConfigurationTrait?alt=com.azure.core.client.traits.ConfigurationTrait&text=ConfigurationTrait\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.ai.contentsafety.BlocklistClientBuilder?alt=com.azure.ai.contentsafety.BlocklistClientBuilder&text=BlocklistClientBuilder\" data-throw-if-not-resolved=\"False\" />&gt;"
- "<xref href=\"com.azure.core.client.traits.EndpointTrait?alt=com.azure.core.client.traits.EndpointTrait&text=EndpointTrait\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.ai.contentsafety.BlocklistClientBuilder?alt=com.azure.ai.contentsafety.BlocklistClientBuilder&text=BlocklistClientBuilder\" data-throw-if-not-resolved=\"False\" />&gt;"
- "<xref href=\"com.azure.core.client.traits.HttpTrait?alt=com.azure.core.client.traits.HttpTrait&text=HttpTrait\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.ai.contentsafety.BlocklistClientBuilder?alt=com.azure.ai.contentsafety.BlocklistClientBuilder&text=BlocklistClientBuilder\" data-throw-if-not-resolved=\"False\" />&gt;"
- "<xref href=\"com.azure.core.client.traits.KeyCredentialTrait?alt=com.azure.core.client.traits.KeyCredentialTrait&text=KeyCredentialTrait\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.ai.contentsafety.BlocklistClientBuilder?alt=com.azure.ai.contentsafety.BlocklistClientBuilder&text=BlocklistClientBuilder\" data-throw-if-not-resolved=\"False\" />&gt;"
- "<xref href=\"com.azure.core.client.traits.TokenCredentialTrait?alt=com.azure.core.client.traits.TokenCredentialTrait&text=TokenCredentialTrait\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.ai.contentsafety.BlocklistClientBuilder?alt=com.azure.ai.contentsafety.BlocklistClientBuilder&text=BlocklistClientBuilder\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.ai.contentsafety"
artifact: com.azure:azure-ai-contentsafety:1.0.6