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 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

      CreateScraperResponse.Builder scraperId(String 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 the ScraperStatus.Builder avoiding the need to create one manually via ScraperStatus.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to status(ScraperStatus).

      Parameters:
      status - a consumer that will call methods on ScraperStatus.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.