Interface ListAnnotationStoreVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListAnnotationStoreVersionsResponse.Builder,
,ListAnnotationStoreVersionsResponse> OmicsResponse.Builder
,SdkBuilder<ListAnnotationStoreVersionsResponse.Builder,
,ListAnnotationStoreVersionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListAnnotationStoreVersionsResponse
public static interface ListAnnotationStoreVersionsResponse.Builder
extends OmicsResponse.Builder, SdkPojo, CopyableBuilder<ListAnnotationStoreVersionsResponse.Builder,ListAnnotationStoreVersionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionannotationStoreVersions
(Collection<AnnotationStoreVersionItem> annotationStoreVersions) Lists all versions of an annotation store.annotationStoreVersions
(Consumer<AnnotationStoreVersionItem.Builder>... annotationStoreVersions) Lists all versions of an annotation store.annotationStoreVersions
(AnnotationStoreVersionItem... annotationStoreVersions) Lists all versions of an annotation store.Specifies the pagination token from a previous request to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.omics.model.OmicsResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
annotationStoreVersions
ListAnnotationStoreVersionsResponse.Builder annotationStoreVersions(Collection<AnnotationStoreVersionItem> annotationStoreVersions) Lists all versions of an annotation store.
- Parameters:
annotationStoreVersions
- Lists all versions of an annotation store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
annotationStoreVersions
ListAnnotationStoreVersionsResponse.Builder annotationStoreVersions(AnnotationStoreVersionItem... annotationStoreVersions) Lists all versions of an annotation store.
- Parameters:
annotationStoreVersions
- Lists all versions of an annotation store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
annotationStoreVersions
ListAnnotationStoreVersionsResponse.Builder annotationStoreVersions(Consumer<AnnotationStoreVersionItem.Builder>... annotationStoreVersions) Lists all versions of an annotation store.
This is a convenience method that creates an instance of theAnnotationStoreVersionItem.Builder
avoiding the need to create one manually viaAnnotationStoreVersionItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toannotationStoreVersions(List<AnnotationStoreVersionItem>)
.- Parameters:
annotationStoreVersions
- a consumer that will call methods onAnnotationStoreVersionItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Specifies the pagination token from a previous request to retrieve the next page of results.
- Parameters:
nextToken
- Specifies the pagination token from a previous request to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-