Class FailedCustomVocabularyItem
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelsv2.model.FailedCustomVocabularyItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FailedCustomVocabularyItem.Builder,FailedCustomVocabularyItem>
@Generated("software.amazon.awssdk:codegen") public final class FailedCustomVocabularyItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FailedCustomVocabularyItem.Builder,FailedCustomVocabularyItem>
The unique failed custom vocabulary item from the custom vocabulary list.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFailedCustomVocabularyItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FailedCustomVocabularyItem.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ErrorCodeerrorCode()The unique error code for the failed custom vocabulary item from the custom vocabulary list.StringerrorCodeAsString()The unique error code for the failed custom vocabulary item from the custom vocabulary list.StringerrorMessage()The error message for the failed custom vocabulary item from the custom vocabulary list.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringitemId()The unique item identifer for the failed custom vocabulary item from the custom vocabulary list.List<SdkField<?>>sdkFields()static Class<? extends FailedCustomVocabularyItem.Builder>serializableBuilderClass()FailedCustomVocabularyItem.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
itemId
public final String itemId()
The unique item identifer for the failed custom vocabulary item from the custom vocabulary list.
- Returns:
- The unique item identifer for the failed custom vocabulary item from the custom vocabulary list.
-
errorMessage
public final String errorMessage()
The error message for the failed custom vocabulary item from the custom vocabulary list.
- Returns:
- The error message for the failed custom vocabulary item from the custom vocabulary list.
-
errorCode
public final ErrorCode errorCode()
The unique error code for the failed custom vocabulary item from the custom vocabulary list.
If the service returns an enum value that is not available in the current SDK version,
errorCodewill returnErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- Returns:
- The unique error code for the failed custom vocabulary item from the custom vocabulary list.
- See Also:
ErrorCode
-
errorCodeAsString
public final String errorCodeAsString()
The unique error code for the failed custom vocabulary item from the custom vocabulary list.
If the service returns an enum value that is not available in the current SDK version,
errorCodewill returnErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- Returns:
- The unique error code for the failed custom vocabulary item from the custom vocabulary list.
- See Also:
ErrorCode
-
toBuilder
public FailedCustomVocabularyItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FailedCustomVocabularyItem.Builder,FailedCustomVocabularyItem>
-
builder
public static FailedCustomVocabularyItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends FailedCustomVocabularyItem.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-