Class BatchDetectLanguageSentimentsRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.ailanguage.requests.BatchDetectLanguageSentimentsRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<BatchDetectLanguageSentimentsRequest,BatchDetectLanguageSentimentsDetails>
 - Enclosing class:
- BatchDetectLanguageSentimentsRequest
 
 public static class BatchDetectLanguageSentimentsRequest.Builder extends Object implements BmcRequest.Builder<BatchDetectLanguageSentimentsRequest,BatchDetectLanguageSentimentsDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchDetectLanguageSentimentsRequest.BuilderbatchDetectLanguageSentimentsDetails(BatchDetectLanguageSentimentsDetails batchDetectLanguageSentimentsDetails)The details to make sentiment detect call.BatchDetectLanguageSentimentsRequest.Builderbody$(BatchDetectLanguageSentimentsDetails body)Alternative setter for the body parameter.BatchDetectLanguageSentimentsRequestbuild()Build the instance of BatchDetectLanguageSentimentsRequest as configured by this builderBatchDetectLanguageSentimentsRequestbuildWithoutInvocationCallback()Build the instance of BatchDetectLanguageSentimentsRequest as configured by this builderBatchDetectLanguageSentimentsRequest.Buildercopy(BatchDetectLanguageSentimentsRequest o)Copy method to populate the builder with values from the given instance.BatchDetectLanguageSentimentsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.BatchDetectLanguageSentimentsRequest.Builderlevel(BatchDetectLanguageSentimentsRequest.Level singularValue)Singular setter.BatchDetectLanguageSentimentsRequest.Builderlevel(List<BatchDetectLanguageSentimentsRequest.Level> level)Set this parameter for sentence and aspect level sentiment analysis.BatchDetectLanguageSentimentsRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.BatchDetectLanguageSentimentsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.
 
- 
- 
- 
Method Detail- 
batchDetectLanguageSentimentsDetailspublic BatchDetectLanguageSentimentsRequest.Builder batchDetectLanguageSentimentsDetails(BatchDetectLanguageSentimentsDetails batchDetectLanguageSentimentsDetails) The details to make sentiment detect call.- Parameters:
- batchDetectLanguageSentimentsDetails- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic BatchDetectLanguageSentimentsRequest.Builder opcRequestId(String opcRequestId) The client request ID for tracing.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
levelpublic BatchDetectLanguageSentimentsRequest.Builder level(List<BatchDetectLanguageSentimentsRequest.Level> level) Set this parameter for sentence and aspect level sentiment analysis.Allowed values are: - ASPECT - SENTENCE
 - Parameters:
- level- the value to set
- Returns:
- this builder instance
 
 - 
levelpublic BatchDetectLanguageSentimentsRequest.Builder level(BatchDetectLanguageSentimentsRequest.Level singularValue) Singular setter.Set this parameter for sentence and aspect level sentiment analysis. Allowed values are: - ASPECT - SENTENCE - Parameters:
- singularValue- the singular value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic BatchDetectLanguageSentimentsRequest.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 BatchDetectLanguageSentimentsRequest.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 BatchDetectLanguageSentimentsRequest.Builder copy(BatchDetectLanguageSentimentsRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<BatchDetectLanguageSentimentsRequest,BatchDetectLanguageSentimentsDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic BatchDetectLanguageSentimentsRequest build() Build the instance of BatchDetectLanguageSentimentsRequest 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<BatchDetectLanguageSentimentsRequest,BatchDetectLanguageSentimentsDetails>
- Returns:
- instance of BatchDetectLanguageSentimentsRequest
 
 - 
body$public BatchDetectLanguageSentimentsRequest.Builder body$(BatchDetectLanguageSentimentsDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<BatchDetectLanguageSentimentsRequest,BatchDetectLanguageSentimentsDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic BatchDetectLanguageSentimentsRequest buildWithoutInvocationCallback() Build the instance of BatchDetectLanguageSentimentsRequest 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 BatchDetectLanguageSentimentsRequest
 
 
- 
 
-