Interface UpdateScraperResponse.Builder
-
- All Superinterfaces:
AmpResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<UpdateScraperResponse.Builder,UpdateScraperResponse>,SdkBuilder<UpdateScraperResponse.Builder,UpdateScraperResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateScraperResponse
public static interface UpdateScraperResponse.Builder extends AmpResponse.Builder, SdkPojo, CopyableBuilder<UpdateScraperResponse.Builder,UpdateScraperResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateScraperResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the updated scraper.UpdateScraperResponse.BuilderscraperId(String scraperId)The ID of the updated scraper.default UpdateScraperResponse.Builderstatus(Consumer<ScraperStatus.Builder> status)A structure that displays the current status of the scraper.UpdateScraperResponse.Builderstatus(ScraperStatus status)A structure that displays the current status of the scraper.UpdateScraperResponse.Buildertags(Map<String,String> tags)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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
arn
UpdateScraperResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) of the updated scraper.
- Parameters:
arn- The Amazon Resource Name (ARN) of the updated scraper.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scraperId
UpdateScraperResponse.Builder scraperId(String scraperId)
The ID of the updated scraper.
- Parameters:
scraperId- The ID of the updated scraper.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
UpdateScraperResponse.Builder status(ScraperStatus 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
default UpdateScraperResponse.Builder status(Consumer<ScraperStatus.Builder> status)
A structure that displays the current status of the scraper.
This is a convenience method that creates an instance of theScraperStatus.Builderavoiding the need to create one manually viaScraperStatus.builder().When the
Consumercompletes,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:
status(ScraperStatus)
-
tags
UpdateScraperResponse.Builder tags(Map<String,String> 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.
-
-