Class DetectDominantLanguageRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.ailanguage.requests.DetectDominantLanguageRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<DetectDominantLanguageRequest,DetectDominantLanguageDetails>
 - Enclosing class:
- DetectDominantLanguageRequest
 
 public static class DetectDominantLanguageRequest.Builder extends Object implements BmcRequest.Builder<DetectDominantLanguageRequest,DetectDominantLanguageDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DetectDominantLanguageRequest.Builderbody$(DetectDominantLanguageDetails body)Alternative setter for the body parameter.DetectDominantLanguageRequestbuild()Build the instance of DetectDominantLanguageRequest as configured by this builderDetectDominantLanguageRequestbuildWithoutInvocationCallback()Build the instance of DetectDominantLanguageRequest as configured by this builderDetectDominantLanguageRequest.Buildercopy(DetectDominantLanguageRequest o)Copy method to populate the builder with values from the given instance.DetectDominantLanguageRequest.BuilderdetectDominantLanguageDetails(DetectDominantLanguageDetails detectDominantLanguageDetails)The details to make a language detection detect call.DetectDominantLanguageRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.DetectDominantLanguageRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.DetectDominantLanguageRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.
 
- 
- 
- 
Method Detail- 
detectDominantLanguageDetailspublic DetectDominantLanguageRequest.Builder detectDominantLanguageDetails(DetectDominantLanguageDetails detectDominantLanguageDetails) The details to make a language detection detect call.- Parameters:
- detectDominantLanguageDetails- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic DetectDominantLanguageRequest.Builder opcRequestId(String opcRequestId) The client request ID for tracing.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic DetectDominantLanguageRequest.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 DetectDominantLanguageRequest.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 DetectDominantLanguageRequest.Builder copy(DetectDominantLanguageRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<DetectDominantLanguageRequest,DetectDominantLanguageDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic DetectDominantLanguageRequest build() Build the instance of DetectDominantLanguageRequest 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<DetectDominantLanguageRequest,DetectDominantLanguageDetails>
- Returns:
- instance of DetectDominantLanguageRequest
 
 - 
body$public DetectDominantLanguageRequest.Builder body$(DetectDominantLanguageDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<DetectDominantLanguageRequest,DetectDominantLanguageDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic DetectDominantLanguageRequest buildWithoutInvocationCallback() Build the instance of DetectDominantLanguageRequest 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 DetectDominantLanguageRequest
 
 
- 
 
-