Interface ListDictionariesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDictionariesResponse.Builder,,ListDictionariesResponse> ElementalInferenceResponse.Builder,SdkBuilder<ListDictionariesResponse.Builder,,ListDictionariesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDictionariesResponse
@Mutable
@NotThreadSafe
public static interface ListDictionariesResponse.Builder
extends ElementalInferenceResponse.Builder, SdkPojo, CopyableBuilder<ListDictionariesResponse.Builder,ListDictionariesResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondictionaries(Collection<DictionarySummary> dictionaries) A list of DictionarySummary objects.dictionaries(Consumer<DictionarySummary.Builder>... dictionaries) A list of DictionarySummary objects.dictionaries(DictionarySummary... dictionaries) A list of DictionarySummary objects.The token to use to retrieve the next batch of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elementalinference.model.ElementalInferenceResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
dictionaries
A list of DictionarySummary objects.
- Parameters:
dictionaries- A list of DictionarySummary objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dictionaries
A list of DictionarySummary objects.
- Parameters:
dictionaries- A list of DictionarySummary objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dictionaries
A list of DictionarySummary objects.
This is a convenience method that creates an instance of theDictionarySummary.Builderavoiding the need to create one manually viaDictionarySummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todictionaries(List<DictionarySummary>).- Parameters:
dictionaries- a consumer that will call methods onDictionarySummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to retrieve the next batch of results.
- Parameters:
nextToken- The token to use to retrieve the next batch of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-