@Generated(value="software.amazon.awssdk:codegen") public final class BatchDetectDominantLanguageItemResult extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BatchDetectDominantLanguageItemResult.Builder,BatchDetectDominantLanguageItemResult>
The result of calling the operation. The operation returns one object for each document that is successfully processed by the operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BatchDetectDominantLanguageItemResult.Builder |
| Modifier and Type | Method and Description |
|---|---|
static BatchDetectDominantLanguageItemResult.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasLanguages()
Returns true if the Languages property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
Integer |
index()
The zero-based index of the document in the input list.
|
List<DominantLanguage> |
languages()
One or more DominantLanguage objects describing the dominant languages in the document.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BatchDetectDominantLanguageItemResult.Builder> |
serializableBuilderClass() |
BatchDetectDominantLanguageItemResult.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer index()
The zero-based index of the document in the input list.
public final boolean hasLanguages()
public final List<DominantLanguage> languages()
One or more DominantLanguage objects describing the dominant languages in the document.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasLanguages() to see if a value was sent in this field.
public BatchDetectDominantLanguageItemResult.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BatchDetectDominantLanguageItemResult.Builder,BatchDetectDominantLanguageItemResult>public static BatchDetectDominantLanguageItemResult.Builder builder()
public static Class<? extends BatchDetectDominantLanguageItemResult.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.