Interface ListFeedsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListFeedsResponse.Builder,,ListFeedsResponse> ElementalInferenceResponse.Builder,SdkBuilder<ListFeedsResponse.Builder,,ListFeedsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListFeedsResponse
@Mutable
@NotThreadSafe
public static interface ListFeedsResponse.Builder
extends ElementalInferenceResponse.Builder, SdkPojo, CopyableBuilder<ListFeedsResponse.Builder,ListFeedsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfeeds(Collection<FeedSummary> feeds) A list of feed summaries.feeds(Consumer<FeedSummary.Builder>... feeds) A list of feed summaries.feeds(FeedSummary... feeds) A list of feed summaries.The token that identifies the batch of results that you want to see.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
-
feeds
A list of feed summaries.
- Parameters:
feeds- A list of feed summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
feeds
A list of feed summaries.
- Parameters:
feeds- A list of feed summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
feeds
A list of feed summaries.
This is a convenience method that creates an instance of theFeedSummary.Builderavoiding the need to create one manually viaFeedSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofeeds(List<FeedSummary>).- Parameters:
feeds- a consumer that will call methods onFeedSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token that identifies the batch of results that you want to see. For example, you submit a list request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the list request a second time and specify the NextToken value.
- Parameters:
nextToken- The token that identifies the batch of results that you want to see. For example, you submit a list request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the list request a second time and specify the NextToken value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-