Class BatchDetectLanguageTextClassificationRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.ailanguage.requests.BatchDetectLanguageTextClassificationRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<BatchDetectLanguageTextClassificationRequest,BatchDetectLanguageTextClassificationDetails>
- Enclosing class:
- BatchDetectLanguageTextClassificationRequest
public static class BatchDetectLanguageTextClassificationRequest.Builder extends Object implements BmcRequest.Builder<BatchDetectLanguageTextClassificationRequest,BatchDetectLanguageTextClassificationDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchDetectLanguageTextClassificationRequest.Builder
batchDetectLanguageTextClassificationDetails(BatchDetectLanguageTextClassificationDetails batchDetectLanguageTextClassificationDetails)
The details to make text classification detect call.BatchDetectLanguageTextClassificationRequest.Builder
body$(BatchDetectLanguageTextClassificationDetails body)
Alternative setter for the body parameter.BatchDetectLanguageTextClassificationRequest
build()
Build the instance of BatchDetectLanguageTextClassificationRequest as configured by this builderBatchDetectLanguageTextClassificationRequest
buildWithoutInvocationCallback()
Build the instance of BatchDetectLanguageTextClassificationRequest as configured by this builderBatchDetectLanguageTextClassificationRequest.Builder
copy(BatchDetectLanguageTextClassificationRequest o)
Copy method to populate the builder with values from the given instance.BatchDetectLanguageTextClassificationRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.BatchDetectLanguageTextClassificationRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.BatchDetectLanguageTextClassificationRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
-
-
-
Method Detail
-
batchDetectLanguageTextClassificationDetails
public BatchDetectLanguageTextClassificationRequest.Builder batchDetectLanguageTextClassificationDetails(BatchDetectLanguageTextClassificationDetails batchDetectLanguageTextClassificationDetails)
The details to make text classification detect call.- Parameters:
batchDetectLanguageTextClassificationDetails
- the value to set- Returns:
- this builder instance
-
opcRequestId
public BatchDetectLanguageTextClassificationRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public BatchDetectLanguageTextClassificationRequest.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
-
retryConfiguration
public BatchDetectLanguageTextClassificationRequest.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
-
copy
public BatchDetectLanguageTextClassificationRequest.Builder copy(BatchDetectLanguageTextClassificationRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<BatchDetectLanguageTextClassificationRequest,BatchDetectLanguageTextClassificationDetails>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public BatchDetectLanguageTextClassificationRequest build()
Build the instance of BatchDetectLanguageTextClassificationRequest 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:
build
in interfaceBmcRequest.Builder<BatchDetectLanguageTextClassificationRequest,BatchDetectLanguageTextClassificationDetails>
- Returns:
- instance of BatchDetectLanguageTextClassificationRequest
-
body$
public BatchDetectLanguageTextClassificationRequest.Builder body$(BatchDetectLanguageTextClassificationDetails body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<BatchDetectLanguageTextClassificationRequest,BatchDetectLanguageTextClassificationDetails>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public BatchDetectLanguageTextClassificationRequest buildWithoutInvocationCallback()
Build the instance of BatchDetectLanguageTextClassificationRequest 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 BatchDetectLanguageTextClassificationRequest
-
-