Interface IndexingRuleValue.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<IndexingRuleValue.Builder,
,IndexingRuleValue> SdkBuilder<IndexingRuleValue.Builder,
,IndexingRuleValue> SdkPojo
- Enclosing class:
IndexingRuleValue
@Mutable
@NotThreadSafe
public static interface IndexingRuleValue.Builder
extends SdkPojo, CopyableBuilder<IndexingRuleValue.Builder,IndexingRuleValue>
-
Method Summary
Modifier and TypeMethodDescriptiondefault IndexingRuleValue.Builder
probabilistic
(Consumer<ProbabilisticRuleValue.Builder> probabilistic) Indexing rule configuration that is used to probabilistically sample traceIds.probabilistic
(ProbabilisticRuleValue probabilistic) Indexing rule configuration that is used to probabilistically sample traceIds.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
-
probabilistic
Indexing rule configuration that is used to probabilistically sample traceIds.
- Parameters:
probabilistic
- Indexing rule configuration that is used to probabilistically sample traceIds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
probabilistic
default IndexingRuleValue.Builder probabilistic(Consumer<ProbabilisticRuleValue.Builder> probabilistic) Indexing rule configuration that is used to probabilistically sample traceIds.
This is a convenience method that creates an instance of theProbabilisticRuleValue.Builder
avoiding the need to create one manually viaProbabilisticRuleValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprobabilistic(ProbabilisticRuleValue)
.- Parameters:
probabilistic
- a consumer that will call methods onProbabilisticRuleValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-