@Generated(value="software.amazon.awssdk:codegen") public final class DetectSentimentRequest extends ComprehendRequest implements ToCopyableBuilder<DetectSentimentRequest.Builder,DetectSentimentRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DetectSentimentRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DetectSentimentRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LanguageCode |
languageCode()
The language of the input documents.
|
String |
languageCodeAsString()
The language of the input documents.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DetectSentimentRequest.Builder> |
serializableBuilderClass() |
String |
text()
A UTF-8 text string.
|
DetectSentimentRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String text()
A UTF-8 text string. The maximum string size is 5 KB.
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 DetectSentimentRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DetectSentimentRequest.Builder,DetectSentimentRequest>toBuilder in class ComprehendRequestpublic static DetectSentimentRequest.Builder builder()
public static Class<? extends DetectSentimentRequest.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 © 2023. All rights reserved.