public static class DetectLanguageEntitiesRequest.Builder extends Object implements BmcRequest.Builder<DetectLanguageEntitiesRequest,DetectLanguageEntitiesDetails>
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() |
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(Consumer<javax.ws.rs.client.Invocation.Builder> 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.
|
String |
toString() |
public DetectLanguageEntitiesRequest.Builder invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> 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.util.internal.Consumer)
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.Builder detectLanguageEntitiesDetails(DetectLanguageEntitiesDetails detectLanguageEntitiesDetails)
The details to make a Entity detect call.
this
.public DetectLanguageEntitiesRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
this
.public DetectLanguageEntitiesRequest.Builder modelVersion(NerModelVersion modelVersion)
Named Entity Recognition model versions. By default user will get output from V2.1 implementation.
this
.public 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.
this
.public DetectLanguageEntitiesRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.