Interface LexiconAttributes.Builder

    • Method Detail

      • alphabet

        LexiconAttributes.Builder alphabet​(String alphabet)

        Phonetic alphabet used in the lexicon. Valid values are ipa and x-sampa.

        Parameters:
        alphabet - Phonetic alphabet used in the lexicon. Valid values are ipa and x-sampa.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • languageCode

        LexiconAttributes.Builder languageCode​(String languageCode)

        Language code that the lexicon applies to. A lexicon with a language code such as "en" would be applied to all English languages (en-GB, en-US, en-AUS, en-WLS, and so on.

        Parameters:
        languageCode - Language code that the lexicon applies to. A lexicon with a language code such as "en" would be applied to all English languages (en-GB, en-US, en-AUS, en-WLS, and so on.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LanguageCode, LanguageCode
      • languageCode

        LexiconAttributes.Builder languageCode​(LanguageCode languageCode)

        Language code that the lexicon applies to. A lexicon with a language code such as "en" would be applied to all English languages (en-GB, en-US, en-AUS, en-WLS, and so on.

        Parameters:
        languageCode - Language code that the lexicon applies to. A lexicon with a language code such as "en" would be applied to all English languages (en-GB, en-US, en-AUS, en-WLS, and so on.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LanguageCode, LanguageCode
      • lastModified

        LexiconAttributes.Builder lastModified​(Instant lastModified)

        Date lexicon was last modified (a timestamp value).

        Parameters:
        lastModified - Date lexicon was last modified (a timestamp value).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lexiconArn

        LexiconAttributes.Builder lexiconArn​(String lexiconArn)

        Amazon Resource Name (ARN) of the lexicon.

        Parameters:
        lexiconArn - Amazon Resource Name (ARN) of the lexicon.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lexemesCount

        LexiconAttributes.Builder lexemesCount​(Integer lexemesCount)

        Number of lexemes in the lexicon.

        Parameters:
        lexemesCount - Number of lexemes in the lexicon.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • size

        LexiconAttributes.Builder size​(Integer size)

        Total size of the lexicon, in characters.

        Parameters:
        size - Total size of the lexicon, in characters.
        Returns:
        Returns a reference to this object so that method calls can be chained together.