Interface SamplingStatisticsDocument.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SamplingStatisticsDocument.Builder,SamplingStatisticsDocument>,SdkBuilder<SamplingStatisticsDocument.Builder,SamplingStatisticsDocument>,SdkPojo
- Enclosing class:
- SamplingStatisticsDocument
@Mutable @NotThreadSafe public static interface SamplingStatisticsDocument.Builder extends SdkPojo, CopyableBuilder<SamplingStatisticsDocument.Builder,SamplingStatisticsDocument>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SamplingStatisticsDocument.BuilderborrowCount(Integer borrowCount)The number of requests recorded with borrowed reservoir quota.SamplingStatisticsDocument.BuilderclientID(String clientID)A unique identifier for the service in hexadecimal.SamplingStatisticsDocument.BuilderrequestCount(Integer requestCount)The number of requests that matched the rule.SamplingStatisticsDocument.BuilderruleName(String ruleName)The name of the sampling rule.SamplingStatisticsDocument.BuildersampledCount(Integer sampledCount)The number of requests recorded.SamplingStatisticsDocument.Buildertimestamp(Instant timestamp)The current time.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
ruleName
SamplingStatisticsDocument.Builder ruleName(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.
-
clientID
SamplingStatisticsDocument.Builder clientID(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.
-
timestamp
SamplingStatisticsDocument.Builder timestamp(Instant 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.
-
-