Interface ListVariantStoresResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListVariantStoresResponse.Builder,,ListVariantStoresResponse> OmicsResponse.Builder,SdkBuilder<ListVariantStoresResponse.Builder,,ListVariantStoresResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListVariantStoresResponse
public static interface ListVariantStoresResponse.Builder
extends OmicsResponse.Builder, SdkPojo, CopyableBuilder<ListVariantStoresResponse.Builder,ListVariantStoresResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA pagination token that's included if more results are available.variantStores(Collection<VariantStoreItem> variantStores) A list of variant stores.variantStores(Consumer<VariantStoreItem.Builder>... variantStores) A list of variant stores.variantStores(VariantStoreItem... variantStores) A list of variant stores.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.omics.model.OmicsResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
variantStores
A list of variant stores.
- Parameters:
variantStores- A list of variant stores.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variantStores
A list of variant stores.
- Parameters:
variantStores- A list of variant stores.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variantStores
ListVariantStoresResponse.Builder variantStores(Consumer<VariantStoreItem.Builder>... variantStores) A list of variant stores.
This is a convenience method that creates an instance of theVariantStoreItem.Builderavoiding the need to create one manually viaVariantStoreItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovariantStores(List<VariantStoreItem>).- Parameters:
variantStores- a consumer that will call methods onVariantStoreItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A pagination token that's included if more results are available.
- Parameters:
nextToken- A pagination token that's included if more results are available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-