Interface ListLexiconsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListLexiconsResponse.Builder,,ListLexiconsResponse> PollyResponse.Builder,SdkBuilder<ListLexiconsResponse.Builder,,ListLexiconsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListLexiconsResponse
public static interface ListLexiconsResponse.Builder
extends PollyResponse.Builder, SdkPojo, CopyableBuilder<ListLexiconsResponse.Builder,ListLexiconsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlexicons(Collection<LexiconDescription> lexicons) A list of lexicon names and attributes.lexicons(Consumer<LexiconDescription.Builder>... lexicons) A list of lexicon names and attributes.lexicons(LexiconDescription... lexicons) A list of lexicon names and attributes.The pagination token to use in the next request to continue the listing of lexicons.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.polly.model.PollyResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
lexicons
A list of lexicon names and attributes.
- Parameters:
lexicons- A list of lexicon names and attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lexicons
A list of lexicon names and attributes.
- Parameters:
lexicons- A list of lexicon names and attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lexicons
A list of lexicon names and attributes.
This is a convenience method that creates an instance of theLexiconDescription.Builderavoiding the need to create one manually viaLexiconDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolexicons(List<LexiconDescription>).- Parameters:
lexicons- a consumer that will call methods onLexiconDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token to use in the next request to continue the listing of lexicons.
NextTokenis returned only if the response is truncated.- Parameters:
nextToken- The pagination token to use in the next request to continue the listing of lexicons.NextTokenis returned only if the response is truncated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-