Interface ListIngestionStreamsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListIngestionStreamsResponse.Builder,,ListIngestionStreamsResponse> OpenSearchServerlessResponse.Builder,SdkBuilder<ListIngestionStreamsResponse.Builder,,ListIngestionStreamsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListIngestionStreamsResponse
@Mutable
@NotThreadSafe
public static interface ListIngestionStreamsResponse.Builder
extends OpenSearchServerlessResponse.Builder, SdkPojo, CopyableBuilder<ListIngestionStreamsResponse.Builder,ListIngestionStreamsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioningestionStreamSummaries(Collection<IngestionStreamSummary> ingestionStreamSummaries) Summary information about each ingestion stream.ingestionStreamSummaries(Consumer<IngestionStreamSummary.Builder>... ingestionStreamSummaries) Summary information about each ingestion stream.ingestionStreamSummaries(IngestionStreamSummary... ingestionStreamSummaries) Summary information about each ingestion stream.WhennextTokenis returned, there are more results available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opensearchserverless.model.OpenSearchServerlessResponse.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
-
ingestionStreamSummaries
ListIngestionStreamsResponse.Builder ingestionStreamSummaries(Collection<IngestionStreamSummary> ingestionStreamSummaries) Summary information about each ingestion stream.
- Parameters:
ingestionStreamSummaries- Summary information about each ingestion stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingestionStreamSummaries
ListIngestionStreamsResponse.Builder ingestionStreamSummaries(IngestionStreamSummary... ingestionStreamSummaries) Summary information about each ingestion stream.
- Parameters:
ingestionStreamSummaries- Summary information about each ingestion stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingestionStreamSummaries
ListIngestionStreamsResponse.Builder ingestionStreamSummaries(Consumer<IngestionStreamSummary.Builder>... ingestionStreamSummaries) Summary information about each ingestion stream.
This is a convenience method that creates an instance of theIngestionStreamSummary.Builderavoiding the need to create one manually viaIngestionStreamSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toingestionStreamSummaries(List<IngestionStreamSummary>).- Parameters:
ingestionStreamSummaries- a consumer that will call methods onIngestionStreamSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
When
nextTokenis returned, there are more results available. The value ofnextTokenis a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.- Parameters:
nextToken- WhennextTokenis returned, there are more results available. The value ofnextTokenis a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-