Class DetectLanguageEntitiesRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.ailanguage.requests.DetectLanguageEntitiesRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<DetectLanguageEntitiesRequest,DetectLanguageEntitiesDetails>
 - Enclosing class:
- DetectLanguageEntitiesRequest
 
 public static class DetectLanguageEntitiesRequest.Builder extends Object implements BmcRequest.Builder<DetectLanguageEntitiesRequest,DetectLanguageEntitiesDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DetectLanguageEntitiesRequest.Builderbody$(DetectLanguageEntitiesDetails body)Alternative setter for the body parameter.DetectLanguageEntitiesRequestbuild()Build the instance of DetectLanguageEntitiesRequest as configured by this builderDetectLanguageEntitiesRequestbuildWithoutInvocationCallback()Build the instance of DetectLanguageEntitiesRequest as configured by this builderDetectLanguageEntitiesRequest.Buildercopy(DetectLanguageEntitiesRequest o)Copy method to populate the builder with values from the given instance.DetectLanguageEntitiesRequest.BuilderdetectLanguageEntitiesDetails(DetectLanguageEntitiesDetails detectLanguageEntitiesDetails)The details to make a Entity detect call.DetectLanguageEntitiesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.DetectLanguageEntitiesRequest.BuilderisPii(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.BuildermodelVersion(NerModelVersion modelVersion)Named Entity Recognition model versions.DetectLanguageEntitiesRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.DetectLanguageEntitiesRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.
 
- 
- 
- 
Method Detail- 
detectLanguageEntitiesDetailspublic DetectLanguageEntitiesRequest.Builder detectLanguageEntitiesDetails(DetectLanguageEntitiesDetails detectLanguageEntitiesDetails) The details to make a Entity detect call.- Parameters:
- detectLanguageEntitiesDetails- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic DetectLanguageEntitiesRequest.Builder opcRequestId(String opcRequestId) The client request ID for tracing.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
modelVersionpublic DetectLanguageEntitiesRequest.Builder modelVersion(NerModelVersion modelVersion) Named Entity Recognition model versions.By default user will get output from V2.1 implementation. - Parameters:
- modelVersion- the value to set
- Returns:
- this builder instance
 
 - 
isPiipublic 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. - Parameters:
- isPii- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic DetectLanguageEntitiesRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback) Set the invocation callback for the request to be built.- Parameters:
- invocationCallback- the invocation callback to be set for the request
- Returns:
- this builder instance
 
 - 
retryConfigurationpublic DetectLanguageEntitiesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration) Set the retry configuration for the request to be built.- Parameters:
- retryConfiguration- the retry configuration to be used for the request
- Returns:
- this builder instance
 
 - 
copypublic DetectLanguageEntitiesRequest.Builder copy(DetectLanguageEntitiesRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<DetectLanguageEntitiesRequest,DetectLanguageEntitiesDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic DetectLanguageEntitiesRequest build() Build the instance of DetectLanguageEntitiesRequest as configured by this builderNote that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuildWithoutInvocationCallback()does not.This is the preferred method to build an instance. - Specified by:
- buildin interface- BmcRequest.Builder<DetectLanguageEntitiesRequest,DetectLanguageEntitiesDetails>
- Returns:
- instance of DetectLanguageEntitiesRequest
 
 - 
body$public DetectLanguageEntitiesRequest.Builder body$(DetectLanguageEntitiesDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<DetectLanguageEntitiesRequest,DetectLanguageEntitiesDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic DetectLanguageEntitiesRequest buildWithoutInvocationCallback() Build the instance of DetectLanguageEntitiesRequest as configured by this builderNote that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuild()does- Returns:
- instance of DetectLanguageEntitiesRequest
 
 
- 
 
-