Class SlotTypeSummary
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelsv2.model.SlotTypeSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SlotTypeSummary.Builder,SlotTypeSummary>
@Generated("software.amazon.awssdk:codegen") public final class SlotTypeSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SlotTypeSummary.Builder,SlotTypeSummary>
Provides summary information about a slot type.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSlotTypeSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SlotTypeSummary.Builderbuilder()Stringdescription()The description of the slot type.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdatedDateTime()A timestamp of the date and time that the slot type was last updated.StringparentSlotTypeSignature()If the slot type is derived from a built-on slot type, the name of the parent slot type.List<SdkField<?>>sdkFields()static Class<? extends SlotTypeSummary.Builder>serializableBuilderClass()SlotTypeCategoryslotTypeCategory()Indicates the type of the slot type.StringslotTypeCategoryAsString()Indicates the type of the slot type.StringslotTypeId()The unique identifier assigned to the slot type.StringslotTypeName()The name of the slot type.SlotTypeSummary.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
-
slotTypeId
public final String slotTypeId()
The unique identifier assigned to the slot type.
- Returns:
- The unique identifier assigned to the slot type.
-
slotTypeName
public final String slotTypeName()
The name of the slot type.
- Returns:
- The name of the slot type.
-
description
public final String description()
The description of the slot type.
- Returns:
- The description of the slot type.
-
parentSlotTypeSignature
public final String parentSlotTypeSignature()
If the slot type is derived from a built-on slot type, the name of the parent slot type.
- Returns:
- If the slot type is derived from a built-on slot type, the name of the parent slot type.
-
lastUpdatedDateTime
public final Instant lastUpdatedDateTime()
A timestamp of the date and time that the slot type was last updated.
- Returns:
- A timestamp of the date and time that the slot type was last updated.
-
slotTypeCategory
public final SlotTypeCategory slotTypeCategory()
Indicates the type of the slot type.
-
Custom- A slot type that you created using custom values. For more information, see Creating custom slot types. -
Extended- A slot type created by extending theAMAZON.AlphaNumericbuilt-in slot type. For more information, seeAMAZON.AlphaNumeric. -
ExternalGrammar- A slot type using a custom GRXML grammar to define values. For more information, see Using a custom grammar slot type.
If the service returns an enum value that is not available in the current SDK version,
slotTypeCategorywill returnSlotTypeCategory.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromslotTypeCategoryAsString().- Returns:
- Indicates the type of the slot type.
-
Custom- A slot type that you created using custom values. For more information, see Creating custom slot types. -
Extended- A slot type created by extending theAMAZON.AlphaNumericbuilt-in slot type. For more information, seeAMAZON.AlphaNumeric. -
ExternalGrammar- A slot type using a custom GRXML grammar to define values. For more information, see Using a custom grammar slot type.
-
- See Also:
SlotTypeCategory
-
-
slotTypeCategoryAsString
public final String slotTypeCategoryAsString()
Indicates the type of the slot type.
-
Custom- A slot type that you created using custom values. For more information, see Creating custom slot types. -
Extended- A slot type created by extending theAMAZON.AlphaNumericbuilt-in slot type. For more information, seeAMAZON.AlphaNumeric. -
ExternalGrammar- A slot type using a custom GRXML grammar to define values. For more information, see Using a custom grammar slot type.
If the service returns an enum value that is not available in the current SDK version,
slotTypeCategorywill returnSlotTypeCategory.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromslotTypeCategoryAsString().- Returns:
- Indicates the type of the slot type.
-
Custom- A slot type that you created using custom values. For more information, see Creating custom slot types. -
Extended- A slot type created by extending theAMAZON.AlphaNumericbuilt-in slot type. For more information, seeAMAZON.AlphaNumeric. -
ExternalGrammar- A slot type using a custom GRXML grammar to define values. For more information, see Using a custom grammar slot type.
-
- See Also:
SlotTypeCategory
-
-
toBuilder
public SlotTypeSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SlotTypeSummary.Builder,SlotTypeSummary>
-
builder
public static SlotTypeSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends SlotTypeSummary.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.
-
-