Interface ScraperSummary.Builder

    • Method Detail

      • alias

        ScraperSummary.Builder alias​(String alias)

        (Optional) A name associated with the scraper.

        Parameters:
        alias - (Optional) A name associated with the scraper.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • arn

        ScraperSummary.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of the scraper.

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

        ScraperSummary.Builder createdAt​(Instant createdAt)

        The date and time that the scraper was created.

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

        ScraperSummary.Builder destination​(Destination destination)

        The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.

        Parameters:
        destination - The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedAt

        ScraperSummary.Builder lastModifiedAt​(Instant lastModifiedAt)

        The date and time that the scraper was last modified.

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

        ScraperSummary.Builder roleArn​(String roleArn)

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

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

        ScraperSummary.Builder roleConfiguration​(RoleConfiguration roleConfiguration)
        Sets the value of the RoleConfiguration property for this object.
        Parameters:
        roleConfiguration - The new value for the RoleConfiguration property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scraperId

        ScraperSummary.Builder scraperId​(String scraperId)

        The ID of the scraper.

        Parameters:
        scraperId - The ID of the scraper.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • source

        ScraperSummary.Builder source​(Source source)

        The Amazon EKS cluster from which the scraper collects metrics.

        Parameters:
        source - The Amazon EKS cluster from which the scraper collects metrics.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        ScraperSummary.Builder status​(ScraperStatus status)

        A structure that contains the current status of the scraper.

        Parameters:
        status - A structure that contains the current status of the scraper.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • statusReason

        ScraperSummary.Builder statusReason​(String statusReason)

        If there is a failure, the reason for the failure.

        Parameters:
        statusReason - If there is a failure, the reason for the failure.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        (Optional) The list of tag keys and values associated with the scraper.

        Parameters:
        tags - (Optional) The list of tag keys and values associated with the scraper.
        Returns:
        Returns a reference to this object so that method calls can be chained together.