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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListScrapersResponse.BuildernextToken(String nextToken)A token indicating that there are more results to retrieve.ListScrapersResponse.Builderscrapers(Collection<ScraperSummary> scrapers)A list ofScraperSummarystructures giving information about scrapers in the account that match the filters provided.ListScrapersResponse.Builderscrapers(Consumer<ScraperSummary.Builder>... scrapers)A list ofScraperSummarystructures giving information about scrapers in the account that match the filters provided.ListScrapersResponse.Builderscrapers(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, 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 Detail
-
nextToken
ListScrapersResponse.Builder nextToken(String 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
ListScrapersResponse.Builder scrapers(Collection<ScraperSummary> 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
ListScrapersResponse.Builder scrapers(ScraperSummary... 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
ListScrapersResponse.Builder scrapers(Consumer<ScraperSummary.Builder>... 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 to#scrapers(List.) - 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:
#scrapers(java.util.Collection)
-
-