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