Class BatchDetectLanguageSentimentsRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<BatchDetectLanguageSentimentsDetails>
-
- com.oracle.bmc.ailanguage.requests.BatchDetectLanguageSentimentsRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20221001") public class BatchDetectLanguageSentimentsRequest extends BmcRequest<BatchDetectLanguageSentimentsDetails>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/ailanguage/BatchDetectLanguageSentimentsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use BatchDetectLanguageSentimentsRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBatchDetectLanguageSentimentsRequest.Builderstatic classBatchDetectLanguageSentimentsRequest.LevelSet this parameter for sentence and aspect level sentiment analysis.
-
Constructor Summary
Constructors Constructor Description BatchDetectLanguageSentimentsRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BatchDetectLanguageSentimentsRequest.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.BatchDetectLanguageSentimentsDetailsgetBatchDetectLanguageSentimentsDetails()The details to make sentiment detect call.BatchDetectLanguageSentimentsDetailsgetBody$()Alternative accessor for the body parameter.List<BatchDetectLanguageSentimentsRequest.Level>getLevel()Set this parameter for sentence and aspect level sentiment analysis.StringgetOpcRequestId()The client request ID for tracing.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.BatchDetectLanguageSentimentsRequest.BuildertoBuilder()Return an instance ofBatchDetectLanguageSentimentsRequest.Builderthat allows you to modify request properties.StringtoString()-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getBatchDetectLanguageSentimentsDetails
public BatchDetectLanguageSentimentsDetails getBatchDetectLanguageSentimentsDetails()
The details to make sentiment detect call.
-
getOpcRequestId
public String getOpcRequestId()
The client request ID for tracing.
-
getLevel
public List<BatchDetectLanguageSentimentsRequest.Level> getLevel()
Set this parameter for sentence and aspect level sentiment analysis.Allowed values are: - ASPECT - SENTENCE
-
getBody$
public BatchDetectLanguageSentimentsDetails getBody$()
Alternative accessor for the body parameter.- Overrides:
getBody$in classBmcRequest<BatchDetectLanguageSentimentsDetails>- Returns:
- body parameter
-
toBuilder
public BatchDetectLanguageSentimentsRequest.Builder toBuilder()
Return an instance ofBatchDetectLanguageSentimentsRequest.Builderthat allows you to modify request properties.- Returns:
- instance of
BatchDetectLanguageSentimentsRequest.Builderthat allows you to modify request properties.
-
builder
public static BatchDetectLanguageSentimentsRequest.Builder builder()
Return a new builder for this request object.- Returns:
- builder for the request object
-
equals
public boolean equals(Object o)
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equalsin classBmcRequest<BatchDetectLanguageSentimentsDetails>
-
hashCode
public int hashCode()
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCodein classBmcRequest<BatchDetectLanguageSentimentsDetails>
-
-