Interface ListScrapersResponse.Builder
- All Superinterfaces:
AmpResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListScrapersResponse.Builder,,ListScrapersResponse> SdkBuilder<ListScrapersResponse.Builder,,ListScrapersResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListScrapersResponse
public static interface ListScrapersResponse.Builder
extends AmpResponse.Builder, SdkPojo, CopyableBuilder<ListScrapersResponse.Builder,ListScrapersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token indicating that there are more results to retrieve.scrapers(Collection<ScraperSummary> scrapers) A list ofScraperSummarystructures giving information about scrapers in the account that match the filters provided.scrapers(Consumer<ScraperSummary.Builder>... scrapers) A list ofScraperSummarystructures giving information about scrapers in the account that match the filters provided.scrapers(ScraperSummary... scrapers) A list ofScraperSummarystructures giving information about scrapers in the account that match the filters provided.Methods inherited from interface software.amazon.awssdk.services.amp.model.AmpResponse.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
-
nextToken
A token indicating that there are more results to retrieve. You can use this token as part of your next
ListScrapersoperation to retrieve those results.- Parameters:
nextToken- A token indicating that there are more results to retrieve. You can use this token as part of your nextListScrapersoperation to retrieve those results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scrapers
A list of
ScraperSummarystructures giving information about scrapers in the account that match the filters provided.- Parameters:
scrapers- A list ofScraperSummarystructures giving information about scrapers in the account that match the filters provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scrapers
A list of
ScraperSummarystructures giving information about scrapers in the account that match the filters provided.- Parameters:
scrapers- A list ofScraperSummarystructures giving information about scrapers in the account that match the filters provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scrapers
A list of
This is a convenience method that creates an instance of theScraperSummarystructures giving information about scrapers in the account that match the filters provided.ScraperSummary.Builderavoiding the need to create one manually viaScraperSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscrapers(List<ScraperSummary>).- Parameters:
scrapers- a consumer that will call methods onScraperSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-