Interface ScraperDescription.Builder

    • Method Detail

      • alias

        ScraperDescription.Builder alias​(String alias)

        Alias of this scraper.

        Parameters:
        alias - Alias of this scraper.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scraperId

        ScraperDescription.Builder scraperId​(String scraperId)

        Unique string identifying this scraper.

        Parameters:
        scraperId - Unique string identifying this scraper.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • arn

        ScraperDescription.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of this scraper.

        Parameters:
        arn - The Amazon Resource Name (ARN) of this scraper.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleArn

        ScraperDescription.Builder roleArn​(String roleArn)

        The Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to dsicover, collect, and produce metrics on your behalf.

        Parameters:
        roleArn - The Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to dsicover, collect, and produce metrics on your behalf.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        ScraperDescription.Builder status​(ScraperStatus status)

        The status of this scraper.

        Parameters:
        status - The status of this scraper.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdAt

        ScraperDescription.Builder createdAt​(Instant createdAt)

        The time when the scraper was created.

        Parameters:
        createdAt - The time when the scraper was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedAt

        ScraperDescription.Builder lastModifiedAt​(Instant lastModifiedAt)

        The time when the scraper was last modified.

        Parameters:
        lastModifiedAt - The time when the scraper was last modified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        ScraperDescription.Builder tags​(Map<String,​String> tags)

        The tags of this scraper.

        Parameters:
        tags - The tags of this scraper.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • statusReason

        ScraperDescription.Builder statusReason​(String statusReason)

        The reason for failure if any.

        Parameters:
        statusReason - The reason for failure if any.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scrapeConfiguration

        ScraperDescription.Builder scrapeConfiguration​(ScrapeConfiguration scrapeConfiguration)

        The configuration used to create the scraper.

        Parameters:
        scrapeConfiguration - The configuration used to create the scraper.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • source

        ScraperDescription.Builder source​(Source source)

        The source that the scraper is discovering and collecting metrics from.

        Parameters:
        source - The source that the scraper is discovering and collecting metrics from.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destination

        ScraperDescription.Builder destination​(Destination destination)

        The destination that the scraper is producing metrics to.

        Parameters:
        destination - The destination that the scraper is producing metrics to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.