Interface PutSlotTypeResponse.Builder

    • Method Detail

      • name

        PutSlotTypeResponse.Builder name​(String name)

        The name of the slot type.

        Parameters:
        name - The name of the slot type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        PutSlotTypeResponse.Builder description​(String description)

        A description of the slot type.

        Parameters:
        description - A description of the slot type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enumerationValues

        PutSlotTypeResponse.Builder enumerationValues​(Collection<EnumerationValue> enumerationValues)

        A list of EnumerationValue objects that defines the values that the slot type can take.

        Parameters:
        enumerationValues - A list of EnumerationValue objects that defines the values that the slot type can take.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enumerationValues

        PutSlotTypeResponse.Builder enumerationValues​(EnumerationValue... enumerationValues)

        A list of EnumerationValue objects that defines the values that the slot type can take.

        Parameters:
        enumerationValues - A list of EnumerationValue objects that defines the values that the slot type can take.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdatedDate

        PutSlotTypeResponse.Builder lastUpdatedDate​(Instant lastUpdatedDate)

        The date that the slot type was updated. When you create a slot type, the creation date and last update date are the same.

        Parameters:
        lastUpdatedDate - The date that the slot type was updated. When you create a slot type, the creation date and last update date are the same.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdDate

        PutSlotTypeResponse.Builder createdDate​(Instant createdDate)

        The date that the slot type was created.

        Parameters:
        createdDate - The date that the slot type was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • version

        PutSlotTypeResponse.Builder version​(String version)

        The version of the slot type. For a new slot type, the version is always $LATEST.

        Parameters:
        version - The version of the slot type. For a new slot type, the version is always $LATEST.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • checksum

        PutSlotTypeResponse.Builder checksum​(String checksum)

        Checksum of the $LATEST version of the slot type.

        Parameters:
        checksum - Checksum of the $LATEST version of the slot type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • valueSelectionStrategy

        PutSlotTypeResponse.Builder valueSelectionStrategy​(String valueSelectionStrategy)

        The slot resolution strategy that Amazon Lex uses to determine the value of the slot. For more information, see PutSlotType.

        Parameters:
        valueSelectionStrategy - The slot resolution strategy that Amazon Lex uses to determine the value of the slot. For more information, see PutSlotType.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SlotValueSelectionStrategy, SlotValueSelectionStrategy
      • createVersion

        PutSlotTypeResponse.Builder createVersion​(Boolean createVersion)

        True if a new version of the slot type was created. If the createVersion field was not specified in the request, the createVersion field is set to false in the response.

        Parameters:
        createVersion - True if a new version of the slot type was created. If the createVersion field was not specified in the request, the createVersion field is set to false in the response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • parentSlotTypeSignature

        PutSlotTypeResponse.Builder parentSlotTypeSignature​(String parentSlotTypeSignature)

        The built-in slot type used as the parent of the slot type.

        Parameters:
        parentSlotTypeSignature - The built-in slot type used as the parent of the slot type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • slotTypeConfigurations

        PutSlotTypeResponse.Builder slotTypeConfigurations​(Collection<SlotTypeConfiguration> slotTypeConfigurations)

        Configuration information that extends the parent built-in slot type.

        Parameters:
        slotTypeConfigurations - Configuration information that extends the parent built-in slot type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • slotTypeConfigurations

        PutSlotTypeResponse.Builder slotTypeConfigurations​(SlotTypeConfiguration... slotTypeConfigurations)

        Configuration information that extends the parent built-in slot type.

        Parameters:
        slotTypeConfigurations - Configuration information that extends the parent built-in slot type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.