public static class DetectLanguageEntitiesRequest.Builder extends Object implements BmcRequest.Builder<DetectLanguageEntitiesRequest,DetectLanguageEntitiesDetails>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DetectLanguageEntitiesRequest.Builder |
body$(DetectLanguageEntitiesDetails body)
Alternative setter for the body parameter.
|
DetectLanguageEntitiesRequest |
build()
Build the instance of DetectLanguageEntitiesRequest as configured by this builder
|
DetectLanguageEntitiesRequest |
buildWithoutInvocationCallback()
Build the instance of DetectLanguageEntitiesRequest as configured by this builder
|
DetectLanguageEntitiesRequest.Builder |
copy(DetectLanguageEntitiesRequest o)
Copy method to populate the builder with values from the given instance.
|
DetectLanguageEntitiesRequest.Builder |
detectLanguageEntitiesDetails(DetectLanguageEntitiesDetails detectLanguageEntitiesDetails)
The details to make a Entity detect call.
|
DetectLanguageEntitiesRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
DetectLanguageEntitiesRequest.Builder |
isPii(Boolean isPii)
If this parameter is set to true, you only get PII (Personally identifiable information)
entities like PhoneNumber, Email, Person, and so on.
|
DetectLanguageEntitiesRequest.Builder |
modelVersion(NerModelVersion modelVersion)
Named Entity Recognition model versions.
|
DetectLanguageEntitiesRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
DetectLanguageEntitiesRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
public DetectLanguageEntitiesRequest.Builder detectLanguageEntitiesDetails(DetectLanguageEntitiesDetails detectLanguageEntitiesDetails)
The details to make a Entity detect call.
detectLanguageEntitiesDetails
- the value to setpublic DetectLanguageEntitiesRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
opcRequestId
- the value to setpublic DetectLanguageEntitiesRequest.Builder modelVersion(NerModelVersion modelVersion)
Named Entity Recognition model versions. By default user will get output from V2.1 implementation.
modelVersion
- the value to setpublic DetectLanguageEntitiesRequest.Builder isPii(Boolean isPii)
If this parameter is set to true, you only get PII (Personally identifiable information) entities like PhoneNumber, Email, Person, and so on. Default value is false.
isPii
- the value to setpublic DetectLanguageEntitiesRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic DetectLanguageEntitiesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic DetectLanguageEntitiesRequest.Builder copy(DetectLanguageEntitiesRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<DetectLanguageEntitiesRequest,DetectLanguageEntitiesDetails>
o
- other request from which to copy valuespublic DetectLanguageEntitiesRequest build()
Build the instance of DetectLanguageEntitiesRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<DetectLanguageEntitiesRequest,DetectLanguageEntitiesDetails>
public DetectLanguageEntitiesRequest.Builder body$(DetectLanguageEntitiesDetails body)
Alternative setter for the body parameter.
body$
in interface BmcRequest.Builder<DetectLanguageEntitiesRequest,DetectLanguageEntitiesDetails>
body
- the body parameterpublic DetectLanguageEntitiesRequest buildWithoutInvocationCallback()
Build the instance of DetectLanguageEntitiesRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.