Interface SamplingTargetDocument.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SamplingTargetDocument.Builder,
,SamplingTargetDocument> SdkBuilder<SamplingTargetDocument.Builder,
,SamplingTargetDocument> SdkPojo
- Enclosing class:
SamplingTargetDocument
public static interface SamplingTargetDocument.Builder
extends SdkPojo, CopyableBuilder<SamplingTargetDocument.Builder,SamplingTargetDocument>
-
Method Summary
Modifier and TypeMethodDescriptionThe percentage of matching requests to instrument, after the reservoir is exhausted.The number of seconds for the service to wait before getting sampling targets again.reservoirQuota
(Integer reservoirQuota) The number of requests per second that X-Ray allocated for this service.reservoirQuotaTTL
(Instant reservoirQuotaTTL) When the reservoir quota expires.The name of the sampling 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, 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.
-
fixedRate
The percentage of matching requests to instrument, after the reservoir is exhausted.
- Parameters:
fixedRate
- The percentage of matching requests to instrument, after the reservoir is exhausted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservoirQuota
The number of requests per second that X-Ray allocated for this service.
- Parameters:
reservoirQuota
- The number of requests per second that X-Ray allocated for this service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservoirQuotaTTL
When the reservoir quota expires.
- Parameters:
reservoirQuotaTTL
- When the reservoir quota expires.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interval
The number of seconds for the service to wait before getting sampling targets again.
- Parameters:
interval
- The number of seconds for the service to wait before getting sampling targets again.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-