Interface ListDefaultVocabulariesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<ListDefaultVocabulariesResponse.Builder,,ListDefaultVocabulariesResponse> SdkBuilder<ListDefaultVocabulariesResponse.Builder,,ListDefaultVocabulariesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDefaultVocabulariesResponse
public static interface ListDefaultVocabulariesResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<ListDefaultVocabulariesResponse.Builder,ListDefaultVocabulariesResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefaultVocabularyList(Collection<DefaultVocabulary> defaultVocabularyList) A list of default vocabularies.defaultVocabularyList(Consumer<DefaultVocabulary.Builder>... defaultVocabularyList) A list of default vocabularies.defaultVocabularyList(DefaultVocabulary... defaultVocabularyList) A list of default vocabularies.If there are additional results, this is the token for the next set of results.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
defaultVocabularyList
ListDefaultVocabulariesResponse.Builder defaultVocabularyList(Collection<DefaultVocabulary> defaultVocabularyList) A list of default vocabularies.
- Parameters:
defaultVocabularyList- A list of default vocabularies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultVocabularyList
ListDefaultVocabulariesResponse.Builder defaultVocabularyList(DefaultVocabulary... defaultVocabularyList) A list of default vocabularies.
- Parameters:
defaultVocabularyList- A list of default vocabularies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultVocabularyList
ListDefaultVocabulariesResponse.Builder defaultVocabularyList(Consumer<DefaultVocabulary.Builder>... defaultVocabularyList) A list of default vocabularies.
This is a convenience method that creates an instance of theDefaultVocabulary.Builderavoiding the need to create one manually viaDefaultVocabulary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefaultVocabularyList(List<DefaultVocabulary>).- Parameters:
defaultVocabularyList- a consumer that will call methods onDefaultVocabulary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If there are additional results, this is the token for the next set of results.
- Parameters:
nextToken- If there are additional results, this is the token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-