public static interface GetLexiconResponse.Builder extends PollyResponse.Builder, SdkPojo, CopyableBuilder<GetLexiconResponse.Builder,GetLexiconResponse>
Modifier and Type | Method and Description |
---|---|
default GetLexiconResponse.Builder |
lexicon(Consumer<Lexicon.Builder> lexicon)
Lexicon object that provides name and the string content of the lexicon.
|
GetLexiconResponse.Builder |
lexicon(Lexicon lexicon)
Lexicon object that provides name and the string content of the lexicon.
|
default GetLexiconResponse.Builder |
lexiconAttributes(Consumer<LexiconAttributes.Builder> lexiconAttributes)
Metadata of the lexicon, including phonetic alphabetic used, language code, lexicon ARN, number of lexemes
defined in the lexicon, and size of lexicon in bytes.
|
GetLexiconResponse.Builder |
lexiconAttributes(LexiconAttributes lexiconAttributes)
Metadata of the lexicon, including phonetic alphabetic used, language code, lexicon ARN, number of lexemes
defined in the lexicon, and size of lexicon in bytes.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetLexiconResponse.Builder lexicon(Lexicon lexicon)
Lexicon object that provides name and the string content of the lexicon.
lexicon
- Lexicon object that provides name and the string content of the lexicon.default GetLexiconResponse.Builder lexicon(Consumer<Lexicon.Builder> lexicon)
Lexicon object that provides name and the string content of the lexicon.
This is a convenience that creates an instance of theLexicon.Builder
avoiding the need to create one
manually via Lexicon.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to lexicon(Lexicon)
.lexicon
- a consumer that will call methods on Lexicon.Builder
lexicon(Lexicon)
GetLexiconResponse.Builder lexiconAttributes(LexiconAttributes lexiconAttributes)
Metadata of the lexicon, including phonetic alphabetic used, language code, lexicon ARN, number of lexemes defined in the lexicon, and size of lexicon in bytes.
lexiconAttributes
- Metadata of the lexicon, including phonetic alphabetic used, language code, lexicon ARN, number of
lexemes defined in the lexicon, and size of lexicon in bytes.default GetLexiconResponse.Builder lexiconAttributes(Consumer<LexiconAttributes.Builder> lexiconAttributes)
Metadata of the lexicon, including phonetic alphabetic used, language code, lexicon ARN, number of lexemes defined in the lexicon, and size of lexicon in bytes.
This is a convenience that creates an instance of theLexiconAttributes.Builder
avoiding the need to
create one manually via LexiconAttributes.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to lexiconAttributes(LexiconAttributes)
.lexiconAttributes
- a consumer that will call methods on LexiconAttributes.Builder
lexiconAttributes(LexiconAttributes)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.