Interface SamplingTargetDocument.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SamplingTargetDocument.Builder,SamplingTargetDocument>,SdkBuilder<SamplingTargetDocument.Builder,SamplingTargetDocument>,SdkPojo
- Enclosing class:
- SamplingTargetDocument
@Mutable @NotThreadSafe public static interface SamplingTargetDocument.Builder extends SdkPojo, CopyableBuilder<SamplingTargetDocument.Builder,SamplingTargetDocument>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SamplingTargetDocument.BuilderfixedRate(Double fixedRate)The percentage of matching requests to instrument, after the reservoir is exhausted.SamplingTargetDocument.Builderinterval(Integer interval)The number of seconds for the service to wait before getting sampling targets again.SamplingTargetDocument.BuilderreservoirQuota(Integer reservoirQuota)The number of requests per second that X-Ray allocated for this service.SamplingTargetDocument.BuilderreservoirQuotaTTL(Instant reservoirQuotaTTL)When the reservoir quota expires.SamplingTargetDocument.BuilderruleName(String ruleName)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
ruleName
SamplingTargetDocument.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.
-
fixedRate
SamplingTargetDocument.Builder fixedRate(Double 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
SamplingTargetDocument.Builder reservoirQuota(Integer 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
SamplingTargetDocument.Builder reservoirQuotaTTL(Instant 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
SamplingTargetDocument.Builder interval(Integer 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.
-
-