Interface DescribeSupportedLanguagesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeSupportedLanguagesResponse.Builder,
,DescribeSupportedLanguagesResponse> SdkBuilder<DescribeSupportedLanguagesResponse.Builder,
,DescribeSupportedLanguagesResponse> SdkPojo
,SdkResponse.Builder
,SupportResponse.Builder
- Enclosing class:
DescribeSupportedLanguagesResponse
public static interface DescribeSupportedLanguagesResponse.Builder
extends SupportResponse.Builder, SdkPojo, CopyableBuilder<DescribeSupportedLanguagesResponse.Builder,DescribeSupportedLanguagesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionsupportedLanguages
(Collection<SupportedLanguage> supportedLanguages) A JSON-formatted array that contains the available ISO 639-1 language codes.supportedLanguages
(Consumer<SupportedLanguage.Builder>... supportedLanguages) A JSON-formatted array that contains the available ISO 639-1 language codes.supportedLanguages
(SupportedLanguage... supportedLanguages) A JSON-formatted array that contains the available ISO 639-1 language codes.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.support.model.SupportResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
supportedLanguages
DescribeSupportedLanguagesResponse.Builder supportedLanguages(Collection<SupportedLanguage> supportedLanguages) A JSON-formatted array that contains the available ISO 639-1 language codes.
- Parameters:
supportedLanguages
- A JSON-formatted array that contains the available ISO 639-1 language codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedLanguages
DescribeSupportedLanguagesResponse.Builder supportedLanguages(SupportedLanguage... supportedLanguages) A JSON-formatted array that contains the available ISO 639-1 language codes.
- Parameters:
supportedLanguages
- A JSON-formatted array that contains the available ISO 639-1 language codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedLanguages
DescribeSupportedLanguagesResponse.Builder supportedLanguages(Consumer<SupportedLanguage.Builder>... supportedLanguages) A JSON-formatted array that contains the available ISO 639-1 language codes.
This is a convenience method that creates an instance of theSupportedLanguage.Builder
avoiding the need to create one manually viaSupportedLanguage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosupportedLanguages(List<SupportedLanguage>)
.- Parameters:
supportedLanguages
- a consumer that will call methods onSupportedLanguage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-