Class CreateSlotTypeResponse

    • Method Detail

      • slotTypeId

        public final String slotTypeId()

        The unique identifier assigned to the slot type. Use this to identify the slot type in the UpdateSlotType and DeleteSlotType operations.

        Returns:
        The unique identifier assigned to the slot type. Use this to identify the slot type in the UpdateSlotType and DeleteSlotType operations.
      • slotTypeName

        public final String slotTypeName()

        The name specified for the slot type.

        Returns:
        The name specified for the slot type.
      • description

        public final String description()

        The description specified for the slot type.

        Returns:
        The description specified for the slot type.
      • hasSlotTypeValues

        public final boolean hasSlotTypeValues()
        For responses, this returns true if the service returned a value for the SlotTypeValues property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • slotTypeValues

        public final List<SlotTypeValue> slotTypeValues()

        The list of values that the slot type can assume.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasSlotTypeValues() method.

        Returns:
        The list of values that the slot type can assume.
      • valueSelectionSetting

        public final SlotValueSelectionSetting valueSelectionSetting()

        The strategy that Amazon Lex uses to select a value from the list of possible values.

        Returns:
        The strategy that Amazon Lex uses to select a value from the list of possible values.
      • parentSlotTypeSignature

        public final String parentSlotTypeSignature()

        The signature of the base slot type specified for the slot type.

        Returns:
        The signature of the base slot type specified for the slot type.
      • botId

        public final String botId()

        The identifier for the bot associated with the slot type.

        Returns:
        The identifier for the bot associated with the slot type.
      • botVersion

        public final String botVersion()

        The version of the bot associated with the slot type.

        Returns:
        The version of the bot associated with the slot type.
      • localeId

        public final String localeId()

        The specified language and local specified for the slot type.

        Returns:
        The specified language and local specified for the slot type.
      • creationDateTime

        public final Instant creationDateTime()

        A timestamp of the date and time that the slot type was created.

        Returns:
        A timestamp of the date and time that the slot type was created.
      • externalSourceSetting

        public final ExternalSourceSetting externalSourceSetting()

        The type of external information used to create the slot type.

        Returns:
        The type of external information used to create the slot type.
      • compositeSlotTypeSetting

        public final CompositeSlotTypeSetting compositeSlotTypeSetting()

        Specifications for a composite slot type.

        Returns:
        Specifications for a composite slot type.
      • 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.
        Overrides:
        toString in class Object