@Generated(value="software.amazon.awssdk:codegen") public final class BatchDetectSentimentRequest extends ComprehendRequest implements ToCopyableBuilder<BatchDetectSentimentRequest.Builder,BatchDetectSentimentRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
BatchDetectSentimentRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static BatchDetectSentimentRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTextList()
Returns true if the TextList property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
LanguageCode |
languageCode()
The language of the input documents.
|
String |
languageCodeAsString()
The language of the input documents.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BatchDetectSentimentRequest.Builder> |
serializableBuilderClass() |
List<String> |
textList()
A list containing the text of the input documents.
|
BatchDetectSentimentRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasTextList()
public final List<String> textList()
A list containing the text of the input documents. The list can contain a maximum of 25 documents. Each document must contain fewer that 5,000 bytes of UTF-8 encoded characters.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTextList() to see if a value was sent in this field.
public final LanguageCode languageCode()
The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.
If the service returns an enum value that is not available in the current SDK version, languageCode will
return LanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
languageCodeAsString().
LanguageCodepublic final String languageCodeAsString()
The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.
If the service returns an enum value that is not available in the current SDK version, languageCode will
return LanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
languageCodeAsString().
LanguageCodepublic BatchDetectSentimentRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BatchDetectSentimentRequest.Builder,BatchDetectSentimentRequest>toBuilder in class ComprehendRequestpublic static BatchDetectSentimentRequest.Builder builder()
public static Class<? extends BatchDetectSentimentRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.