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
Modifier and TypeMethodDescriptiondefault IndexingRuleValueUpdate.Builderprobabilistic(Consumer<ProbabilisticRuleValueUpdate.Builder> probabilistic) Indexing rule configuration that is used to probabilistically sample traceIds.probabilistic(ProbabilisticRuleValueUpdate probabilistic) Indexing rule configuration that is used to probabilistically sample traceIds.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
-
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:
-