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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListLexiconsResponse.Builderlexicons(Collection<LexiconDescription> lexicons)A list of lexicon names and attributes.ListLexiconsResponse.Builderlexicons(Consumer<LexiconDescription.Builder>... lexicons)A list of lexicon names and attributes.ListLexiconsResponse.Builderlexicons(LexiconDescription... lexicons)A list of lexicon names and attributes.ListLexiconsResponse.BuildernextToken(String nextToken)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
copy
-
Methods inherited from interface software.amazon.awssdk.services.polly.model.PollyResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
lexicons
ListLexiconsResponse.Builder lexicons(Collection<LexiconDescription> 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
ListLexiconsResponse.Builder lexicons(LexiconDescription... 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
ListLexiconsResponse.Builder lexicons(Consumer<LexiconDescription.Builder>... 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 to#lexicons(List.) - 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:
#lexicons(java.util.Collection)
-
nextToken
ListLexiconsResponse.Builder nextToken(String 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.
-
-