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