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 ofScraperSummary
structures giving information about scrapers in the account that match the filters provided.scrapers
(Consumer<ScraperSummary.Builder>... scrapers) A list ofScraperSummary
structures giving information about scrapers in the account that match the filters provided.scrapers
(ScraperSummary... scrapers) A list ofScraperSummary
structures 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, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
nextToken
A token indicating that there are more results to retrieve. You can use this token as part of your next
ListScrapers
operation 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 nextListScrapers
operation to retrieve those results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scrapers
A list of
ScraperSummary
structures giving information about scrapers in the account that match the filters provided.- Parameters:
scrapers
- A list ofScraperSummary
structures 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
ScraperSummary
structures giving information about scrapers in the account that match the filters provided.- Parameters:
scrapers
- A list ofScraperSummary
structures 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 theScraperSummary
structures giving information about scrapers in the account that match the filters provided.ScraperSummary.Builder
avoiding the need to create one manually viaScraperSummary.builder()
.When the
Consumer
completes,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:
-