Interface SamplingStatisticsDocument.Builder

All Superinterfaces:
Buildable, CopyableBuilder<SamplingStatisticsDocument.Builder,SamplingStatisticsDocument>, SdkBuilder<SamplingStatisticsDocument.Builder,SamplingStatisticsDocument>, SdkPojo
Enclosing class:
SamplingStatisticsDocument

public static interface SamplingStatisticsDocument.Builder extends SdkPojo, CopyableBuilder<SamplingStatisticsDocument.Builder,SamplingStatisticsDocument>
  • Method Details

    • 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.
    • 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.
    • timestamp

      The current time.

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

      SamplingStatisticsDocument.Builder requestCount(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.
    • sampledCount

      SamplingStatisticsDocument.Builder sampledCount(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.
    • borrowCount

      SamplingStatisticsDocument.Builder borrowCount(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.