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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default IndexingRuleValue.Builderprobabilistic(Consumer<ProbabilisticRuleValue.Builder> probabilistic)Indexing rule configuration that is used to probabilistically sample traceIds.IndexingRuleValue.Builderprobabilistic(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 Detail
-
probabilistic
IndexingRuleValue.Builder probabilistic(ProbabilisticRuleValue 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.Builderavoiding the need to create one manually viaProbabilisticRuleValue.builder().When the
Consumercompletes,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:
probabilistic(ProbabilisticRuleValue)
-
-