Class UpdateSlotTypeRequest

    • Method Detail

      • slotTypeId

        public final String slotTypeId()

        The unique identifier of the slot type to update.

        Returns:
        The unique identifier of the slot type to update.
      • slotTypeName

        public final String slotTypeName()

        The new name of the slot type.

        Returns:
        The new name of the slot type.
      • description

        public final String description()

        The new description of the slot type.

        Returns:
        The new description of 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()

        A new list of values and their optional synonyms that define the values that the slot type can take.

        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:
        A new list of values and their optional synonyms that define the values that the slot type can take.
      • valueSelectionSetting

        public final SlotValueSelectionSetting valueSelectionSetting()

        The strategy that Amazon Lex should use when deciding on a value from the list of slot type values.

        Returns:
        The strategy that Amazon Lex should use when deciding on a value from the list of slot type values.
      • parentSlotTypeSignature

        public final String parentSlotTypeSignature()

        The new built-in slot type that should be used as the parent of this slot type.

        Returns:
        The new built-in slot type that should be used as the parent of this slot type.
      • botId

        public final String botId()

        The identifier of the bot that contains the slot type.

        Returns:
        The identifier of the bot that contains the slot type.
      • botVersion

        public final String botVersion()

        The version of the bot that contains the slot type. Must be DRAFT.

        Returns:
        The version of the bot that contains the slot type. Must be DRAFT.
      • localeId

        public final String localeId()

        The identifier of the language and locale that contains the slot type. The string must match one of the supported locales. For more information, see Supported languages.

        Returns:
        The identifier of the language and locale that contains the slot type. The string must match one of the supported locales. For more information, see Supported languages.
      • externalSourceSetting

        public final ExternalSourceSetting externalSourceSetting()
        Returns the value of the ExternalSourceSetting property for this object.
        Returns:
        The value of the ExternalSourceSetting property for this object.
      • 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