Interface SamplingBoostStatisticsDocument.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SamplingBoostStatisticsDocument.Builder,
,SamplingBoostStatisticsDocument> SdkBuilder<SamplingBoostStatisticsDocument.Builder,
,SamplingBoostStatisticsDocument> SdkPojo
- Enclosing class:
SamplingBoostStatisticsDocument
@Mutable
@NotThreadSafe
public static interface SamplingBoostStatisticsDocument.Builder
extends SdkPojo, CopyableBuilder<SamplingBoostStatisticsDocument.Builder,SamplingBoostStatisticsDocument>
-
Method Summary
Modifier and TypeMethodDescriptionanomalyCount
(Integer anomalyCount) The number of requests with anomaly.The name of the sampling rule.sampledAnomalyCount
(Integer sampledAnomalyCount) The number of requests with anomaly recorded.serviceName
(String serviceName) Matches thename
that the service uses to identify itself in segments.The current time.totalCount
(Integer totalCount) The number of requests that associated to the rule.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 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.
-
serviceName
Matches the
name
that the service uses to identify itself in segments.- Parameters:
serviceName
- Matches thename
that the service uses to identify itself in segments.- 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.
-
anomalyCount
The number of requests with anomaly.
- Parameters:
anomalyCount
- The number of requests with anomaly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalCount
The number of requests that associated to the rule.
- Parameters:
totalCount
- The number of requests that associated to the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampledAnomalyCount
The number of requests with anomaly recorded.
- Parameters:
sampledAnomalyCount
- The number of requests with anomaly recorded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-