Interface SamplingStatisticSummary.Builder

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

public static interface SamplingStatisticSummary.Builder extends SdkPojo, CopyableBuilder<SamplingStatisticSummary.Builder,SamplingStatisticSummary>
  • 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.
    • timestamp

      The start time of the reporting window.

      Parameters:
      timestamp - The start time of the reporting window.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestCount

      SamplingStatisticSummary.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.
    • borrowCount

      SamplingStatisticSummary.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.
    • sampledCount

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