Interface LexiconAttributes.Builder

All Superinterfaces:
Buildable, CopyableBuilder<LexiconAttributes.Builder,LexiconAttributes>, SdkBuilder<LexiconAttributes.Builder,LexiconAttributes>, SdkPojo
Enclosing class:
LexiconAttributes

public static interface LexiconAttributes.Builder extends SdkPojo, CopyableBuilder<LexiconAttributes.Builder,LexiconAttributes>
  • Method Details

    • 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

      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:
    • 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

      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.