Interface GetLexiconResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetLexiconResponse.Builder,GetLexiconResponse>
,PollyResponse.Builder
,SdkBuilder<GetLexiconResponse.Builder,GetLexiconResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- GetLexiconResponse
public static interface GetLexiconResponse.Builder extends PollyResponse.Builder, SdkPojo, CopyableBuilder<GetLexiconResponse.Builder,GetLexiconResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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.-
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
-
lexicon
GetLexiconResponse.Builder lexicon(Lexicon lexicon)
Lexicon object that provides name and the string content of the lexicon.
- Parameters:
lexicon
- Lexicon object that provides name and the string content of the lexicon.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 method that creates an instance of theLexicon.Builder
avoiding the need to create one manually viaLexicon.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolexicon(Lexicon)
.- Parameters:
lexicon
- a consumer that will call methods onLexicon.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
lexicon(Lexicon)
-
lexiconAttributes
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lexiconAttributes
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 method that creates an instance of theLexiconAttributes.Builder
avoiding the need to create one manually viaLexiconAttributes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolexiconAttributes(LexiconAttributes)
.- Parameters:
lexiconAttributes
- a consumer that will call methods onLexiconAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
lexiconAttributes(LexiconAttributes)
-
-