@Generated(value="software.amazon.awssdk:codegen") public final class DetectKeyPhrasesRequest extends ComprehendRequest implements ToCopyableBuilder<DetectKeyPhrasesRequest.Builder,DetectKeyPhrasesRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DetectKeyPhrasesRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DetectKeyPhrasesRequest.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 DetectKeyPhrasesRequest.Builder> |
serializableBuilderClass() |
String |
text()
A UTF-8 text string.
|
DetectKeyPhrasesRequest.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 string must contain less than 100 KB of UTF-8 encoded characters.
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 DetectKeyPhrasesRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DetectKeyPhrasesRequest.Builder,DetectKeyPhrasesRequest>toBuilder in class ComprehendRequestpublic static DetectKeyPhrasesRequest.Builder builder()
public static Class<? extends DetectKeyPhrasesRequest.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.