Interface IndexingRuleValueUpdate.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IndexingRuleValueUpdate.Builder,IndexingRuleValueUpdate>,SdkBuilder<IndexingRuleValueUpdate.Builder,IndexingRuleValueUpdate>,SdkPojo
- Enclosing class:
- IndexingRuleValueUpdate
@Mutable @NotThreadSafe public static interface IndexingRuleValueUpdate.Builder extends SdkPojo, CopyableBuilder<IndexingRuleValueUpdate.Builder,IndexingRuleValueUpdate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default IndexingRuleValueUpdate.Builderprobabilistic(Consumer<ProbabilisticRuleValueUpdate.Builder> probabilistic)Indexing rule configuration that is used to probabilistically sample traceIds.IndexingRuleValueUpdate.Builderprobabilistic(ProbabilisticRuleValueUpdate 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
IndexingRuleValueUpdate.Builder probabilistic(ProbabilisticRuleValueUpdate 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 IndexingRuleValueUpdate.Builder probabilistic(Consumer<ProbabilisticRuleValueUpdate.Builder> probabilistic)
Indexing rule configuration that is used to probabilistically sample traceIds.
This is a convenience method that creates an instance of theProbabilisticRuleValueUpdate.Builderavoiding the need to create one manually viaProbabilisticRuleValueUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprobabilistic(ProbabilisticRuleValueUpdate).- Parameters:
probabilistic- a consumer that will call methods onProbabilisticRuleValueUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
probabilistic(ProbabilisticRuleValueUpdate)
-
-