Interface CreateScraperResponse.Builder
- All Superinterfaces:
AmpResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateScraperResponse.Builder,
,CreateScraperResponse> SdkBuilder<CreateScraperResponse.Builder,
,CreateScraperResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateScraperResponse
public static interface CreateScraperResponse.Builder
extends AmpResponse.Builder, SdkPojo, CopyableBuilder<CreateScraperResponse.Builder,CreateScraperResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the new scraper.The ID of the new scraper.default CreateScraperResponse.Builder
status
(Consumer<ScraperStatus.Builder> status) A structure that displays the current status of the scraper.status
(ScraperStatus status) A structure that displays the current status of the scraper.The list of tag keys and values that are associated with the scraper.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
-
arn
The Amazon Resource Name (ARN) of the new scraper.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the new scraper.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scraperId
The ID of the new scraper.
- Parameters:
scraperId
- The ID of the new scraper.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
A structure that displays the current status of the scraper.
- Parameters:
status
- A structure that displays the current status of the scraper.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
A structure that displays the current status of the scraper.
This is a convenience method that creates an instance of theScraperStatus.Builder
avoiding the need to create one manually viaScraperStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(ScraperStatus)
.- Parameters:
status
- a consumer that will call methods onScraperStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The list of tag keys and values that are associated with the scraper.
- Parameters:
tags
- The list of tag keys and values that are associated with the scraper.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-