Class NewCustomVocabularyItem
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelsv2.model.NewCustomVocabularyItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NewCustomVocabularyItem.Builder,NewCustomVocabularyItem>
@Generated("software.amazon.awssdk:codegen") public final class NewCustomVocabularyItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NewCustomVocabularyItem.Builder,NewCustomVocabularyItem>
The new custom vocabulary item from the custom vocabulary list.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNewCustomVocabularyItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NewCustomVocabularyItem.Builderbuilder()StringdisplayAs()The display as value assigned to the new custom vocabulary item from the custom vocabulary list.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringphrase()The unique phrase for the new custom vocabulary item from the custom vocabulary list.List<SdkField<?>>sdkFields()static Class<? extends NewCustomVocabularyItem.Builder>serializableBuilderClass()NewCustomVocabularyItem.BuildertoBuilder()StringtoString()Returns a string representation of this object.Integerweight()The weight assigned to the new custom vocabulary item from the custom vocabulary list.-
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
-
phrase
public final String phrase()
The unique phrase for the new custom vocabulary item from the custom vocabulary list.
- Returns:
- The unique phrase for the new custom vocabulary item from the custom vocabulary list.
-
weight
public final Integer weight()
The weight assigned to the new custom vocabulary item from the custom vocabulary list.
- Returns:
- The weight assigned to the new custom vocabulary item from the custom vocabulary list.
-
displayAs
public final String displayAs()
The display as value assigned to the new custom vocabulary item from the custom vocabulary list.
- Returns:
- The display as value assigned to the new custom vocabulary item from the custom vocabulary list.
-
toBuilder
public NewCustomVocabularyItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<NewCustomVocabularyItem.Builder,NewCustomVocabularyItem>
-
builder
public static NewCustomVocabularyItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends NewCustomVocabularyItem.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.
-
-