JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.xray.model

Class SamplingStatisticsDocument

    • Constructor Detail

      • SamplingStatisticsDocument

        public SamplingStatisticsDocument()
    • Method Detail

      • setRuleName

        public void setRuleName(String ruleName)

        The name of the sampling rule.

        Parameters:
        ruleName - The name of the sampling rule.
      • getRuleName

        public String getRuleName()

        The name of the sampling rule.

        Returns:
        The name of the sampling rule.
      • withRuleName

        public SamplingStatisticsDocument withRuleName(String ruleName)

        The name of the sampling rule.

        Parameters:
        ruleName - The name of the sampling rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setClientID

        public void setClientID(String clientID)

        A unique identifier for the service in hexadecimal.

        Parameters:
        clientID - A unique identifier for the service in hexadecimal.
      • getClientID

        public String getClientID()

        A unique identifier for the service in hexadecimal.

        Returns:
        A unique identifier for the service in hexadecimal.
      • withClientID

        public SamplingStatisticsDocument withClientID(String clientID)

        A unique identifier for the service in hexadecimal.

        Parameters:
        clientID - A unique identifier for the service in hexadecimal.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTimestamp

        public void setTimestamp(Date timestamp)

        The current time.

        Parameters:
        timestamp - The current time.
      • getTimestamp

        public Date getTimestamp()

        The current time.

        Returns:
        The current time.
      • withTimestamp

        public SamplingStatisticsDocument withTimestamp(Date timestamp)

        The current time.

        Parameters:
        timestamp - The current time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRequestCount

        public void setRequestCount(Integer requestCount)

        The number of requests that matched the rule.

        Parameters:
        requestCount - The number of requests that matched the rule.
      • getRequestCount

        public Integer getRequestCount()

        The number of requests that matched the rule.

        Returns:
        The number of requests that matched the rule.
      • withRequestCount

        public SamplingStatisticsDocument withRequestCount(Integer requestCount)

        The number of requests that matched the rule.

        Parameters:
        requestCount - The number of requests that matched the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSampledCount

        public void setSampledCount(Integer sampledCount)

        The number of requests recorded.

        Parameters:
        sampledCount - The number of requests recorded.
      • getSampledCount

        public Integer getSampledCount()

        The number of requests recorded.

        Returns:
        The number of requests recorded.
      • withSampledCount

        public SamplingStatisticsDocument withSampledCount(Integer sampledCount)

        The number of requests recorded.

        Parameters:
        sampledCount - The number of requests recorded.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setBorrowCount

        public void setBorrowCount(Integer borrowCount)

        The number of requests recorded with borrowed reservoir quota.

        Parameters:
        borrowCount - The number of requests recorded with borrowed reservoir quota.
      • getBorrowCount

        public Integer getBorrowCount()

        The number of requests recorded with borrowed reservoir quota.

        Returns:
        The number of requests recorded with borrowed reservoir quota.
      • withBorrowCount

        public SamplingStatisticsDocument withBorrowCount(Integer borrowCount)

        The number of requests recorded with borrowed reservoir quota.

        Parameters:
        borrowCount - The number of requests recorded with borrowed reservoir quota.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /