Interface SamplingRateBoost.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SamplingRateBoost.Builder,,SamplingRateBoost> SdkBuilder<SamplingRateBoost.Builder,,SamplingRateBoost> SdkPojo
- Enclosing class:
SamplingRateBoost
@Mutable
@NotThreadSafe
public static interface SamplingRateBoost.Builder
extends SdkPojo, CopyableBuilder<SamplingRateBoost.Builder,SamplingRateBoost>
-
Method Summary
Modifier and TypeMethodDescriptioncooldownWindowMinutes(Integer cooldownWindowMinutes) Sets the time window (in minutes) in which only one sampling rate boost can be triggered.Defines max temporary sampling rate to apply when a boost is triggered.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
maxRate
Defines max temporary sampling rate to apply when a boost is triggered. Calculated boost rate by X-Ray will be less than or equal to this max rate.
- Parameters:
maxRate- Defines max temporary sampling rate to apply when a boost is triggered. Calculated boost rate by X-Ray will be less than or equal to this max rate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cooldownWindowMinutes
Sets the time window (in minutes) in which only one sampling rate boost can be triggered. After a boost occurs, no further boosts are allowed until the next window.
- Parameters:
cooldownWindowMinutes- Sets the time window (in minutes) in which only one sampling rate boost can be triggered. After a boost occurs, no further boosts are allowed until the next window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-