Interface ListLanguagesResponse.Builder

    • Method Detail

      • languages

        ListLanguagesResponse.Builder languages​(Collection<Language> languages)

        The list of supported languages.

        Parameters:
        languages - The list of supported languages.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • languages

        ListLanguagesResponse.Builder languages​(Language... languages)

        The list of supported languages.

        Parameters:
        languages - The list of supported languages.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • displayLanguageCode

        ListLanguagesResponse.Builder displayLanguageCode​(String displayLanguageCode)

        The language code passed in with the request.

        Parameters:
        displayLanguageCode - The language code passed in with the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DisplayLanguageCode, DisplayLanguageCode
      • nextToken

        ListLanguagesResponse.Builder nextToken​(String nextToken)

        If the response does not include all remaining results, use the NextToken in the next request to fetch the next group of supported languages.

        Parameters:
        nextToken - If the response does not include all remaining results, use the NextToken in the next request to fetch the next group of supported languages.
        Returns:
        Returns a reference to this object so that method calls can be chained together.