Interface ListVocabulariesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListVocabulariesResponse.Builder,ListVocabulariesResponse>,SdkBuilder<ListVocabulariesResponse.Builder,ListVocabulariesResponse>,SdkPojo,SdkResponse.Builder,TranscribeResponse.Builder
- Enclosing class:
- ListVocabulariesResponse
public static interface ListVocabulariesResponse.Builder extends TranscribeResponse.Builder, SdkPojo, CopyableBuilder<ListVocabulariesResponse.Builder,ListVocabulariesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListVocabulariesResponse.BuildernextToken(String nextToken)IfNextTokenis present in your response, it indicates that not all results are displayed.ListVocabulariesResponse.Builderstatus(String status)Lists all custom vocabularies that have the status specified in your request.ListVocabulariesResponse.Builderstatus(VocabularyState status)Lists all custom vocabularies that have the status specified in your request.ListVocabulariesResponse.Buildervocabularies(Collection<VocabularyInfo> vocabularies)Provides information about the custom vocabularies that match the criteria specified in your request.ListVocabulariesResponse.Buildervocabularies(Consumer<VocabularyInfo.Builder>... vocabularies)Provides information about the custom vocabularies that match the criteria specified in your request.ListVocabulariesResponse.Buildervocabularies(VocabularyInfo... vocabularies)Provides information about the custom vocabularies that match the criteria specified in your request.-
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.transcribe.model.TranscribeResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
status
ListVocabulariesResponse.Builder status(String status)
Lists all custom vocabularies that have the status specified in your request. Vocabularies are ordered by creation date, with the newest vocabulary first.
- Parameters:
status- Lists all custom vocabularies that have the status specified in your request. Vocabularies are ordered by creation date, with the newest vocabulary first.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VocabularyState,VocabularyState
-
status
ListVocabulariesResponse.Builder status(VocabularyState status)
Lists all custom vocabularies that have the status specified in your request. Vocabularies are ordered by creation date, with the newest vocabulary first.
- Parameters:
status- Lists all custom vocabularies that have the status specified in your request. Vocabularies are ordered by creation date, with the newest vocabulary first.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VocabularyState,VocabularyState
-
nextToken
ListVocabulariesResponse.Builder nextToken(String nextToken)
If
NextTokenis present in your response, it indicates that not all results are displayed. To view the next set of results, copy the string associated with theNextTokenparameter in your results output, then run your request again includingNextTokenwith the value of the copied string. Repeat as needed to view all your results.- Parameters:
nextToken- IfNextTokenis present in your response, it indicates that not all results are displayed. To view the next set of results, copy the string associated with theNextTokenparameter in your results output, then run your request again includingNextTokenwith the value of the copied string. Repeat as needed to view all your results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vocabularies
ListVocabulariesResponse.Builder vocabularies(Collection<VocabularyInfo> vocabularies)
Provides information about the custom vocabularies that match the criteria specified in your request.
- Parameters:
vocabularies- Provides information about the custom vocabularies that match the criteria specified in your request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vocabularies
ListVocabulariesResponse.Builder vocabularies(VocabularyInfo... vocabularies)
Provides information about the custom vocabularies that match the criteria specified in your request.
- Parameters:
vocabularies- Provides information about the custom vocabularies that match the criteria specified in your request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vocabularies
ListVocabulariesResponse.Builder vocabularies(Consumer<VocabularyInfo.Builder>... vocabularies)
Provides information about the custom vocabularies that match the criteria specified in your request.
This is a convenience method that creates an instance of theVocabularyInfo.Builderavoiding the need to create one manually viaVocabularyInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#vocabularies(List.) - Parameters:
vocabularies- a consumer that will call methods onVocabularyInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#vocabularies(java.util.Collection)
-
-