Interface ListLanguagesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListLanguagesResponse.Builder,,ListLanguagesResponse> SdkBuilder<ListLanguagesResponse.Builder,,ListLanguagesResponse> SdkPojo,SdkResponse.Builder,TranslateResponse.Builder
- Enclosing class:
ListLanguagesResponse
@Mutable
@NotThreadSafe
public static interface ListLanguagesResponse.Builder
extends TranslateResponse.Builder, SdkPojo, CopyableBuilder<ListLanguagesResponse.Builder,ListLanguagesResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondisplayLanguageCode(String displayLanguageCode) The language code passed in with the request.displayLanguageCode(DisplayLanguageCode displayLanguageCode) The language code passed in with the request.languages(Collection<Language> languages) The list of supported languages.languages(Consumer<Language.Builder>... languages) The list of supported languages.The list of supported languages.If the response does not include all remaining results, use the NextToken in the next request to fetch the next group of supported languages.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.translate.model.TranslateResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
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
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
The list of supported languages.
This is a convenience method that creates an instance of theLanguage.Builderavoiding the need to create one manually viaLanguage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolanguages(List<Language>).- Parameters:
languages- a consumer that will call methods onLanguage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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:
-
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.
-