Class SlotTypeArgs.Builder

  • Enclosing class:
    SlotTypeArgs

    public static final class SlotTypeArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • createVersion

        public SlotTypeArgs.Builder createVersion​(@Nullable
                                                  com.pulumi.core.Output<java.lang.Boolean> createVersion)
        Parameters:
        createVersion - Determines if a new slot type version is created when the initial resource is created and on each update. Defaults to `false`.
        Returns:
        builder
      • createVersion

        public SlotTypeArgs.Builder createVersion​(java.lang.Boolean createVersion)
        Parameters:
        createVersion - Determines if a new slot type version is created when the initial resource is created and on each update. Defaults to `false`.
        Returns:
        builder
      • description

        public SlotTypeArgs.Builder description​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - A description of the slot type. Must be less than or equal to 200 characters in length.
        Returns:
        builder
      • description

        public SlotTypeArgs.Builder description​(java.lang.String description)
        Parameters:
        description - A description of the slot type. Must be less than or equal to 200 characters in length.
        Returns:
        builder
      • enumerationValues

        public SlotTypeArgs.Builder enumerationValues​(com.pulumi.core.Output<java.util.List<SlotTypeEnumerationValueArgs>> enumerationValues)
        Parameters:
        enumerationValues - A list of EnumerationValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, which are additional values that help train the machine learning model about the values that it resolves for a slot. Attributes are documented under enumeration_value.
        Returns:
        builder
      • enumerationValues

        public SlotTypeArgs.Builder enumerationValues​(java.util.List<SlotTypeEnumerationValueArgs> enumerationValues)
        Parameters:
        enumerationValues - A list of EnumerationValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, which are additional values that help train the machine learning model about the values that it resolves for a slot. Attributes are documented under enumeration_value.
        Returns:
        builder
      • enumerationValues

        public SlotTypeArgs.Builder enumerationValues​(SlotTypeEnumerationValueArgs... enumerationValues)
        Parameters:
        enumerationValues - A list of EnumerationValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, which are additional values that help train the machine learning model about the values that it resolves for a slot. Attributes are documented under enumeration_value.
        Returns:
        builder
      • name

        public SlotTypeArgs.Builder name​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the slot type. The name is not case sensitive. Must be less than or equal to 100 characters in length.
        Returns:
        builder
      • name

        public SlotTypeArgs.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the slot type. The name is not case sensitive. Must be less than or equal to 100 characters in length.
        Returns:
        builder
      • region

        public SlotTypeArgs.Builder region​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public SlotTypeArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • valueSelectionStrategy

        public SlotTypeArgs.Builder valueSelectionStrategy​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> valueSelectionStrategy)
        Parameters:
        valueSelectionStrategy - Determines the slot resolution strategy that Amazon Lex uses to return slot type values. `ORIGINAL_VALUE` returns the value entered by the user if the user value is similar to the slot value. `TOP_RESOLUTION` returns the first value in the resolution list if there is a resolution list for the slot, otherwise null is returned. Defaults to `ORIGINAL_VALUE`.
        Returns:
        builder
      • valueSelectionStrategy

        public SlotTypeArgs.Builder valueSelectionStrategy​(java.lang.String valueSelectionStrategy)
        Parameters:
        valueSelectionStrategy - Determines the slot resolution strategy that Amazon Lex uses to return slot type values. `ORIGINAL_VALUE` returns the value entered by the user if the user value is similar to the slot value. `TOP_RESOLUTION` returns the first value in the resolution list if there is a resolution list for the slot, otherwise null is returned. Defaults to `ORIGINAL_VALUE`.
        Returns:
        builder