Interface IndexingRuleValue.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IndexingRuleValue.Builder,,IndexingRuleValue> SdkBuilder<IndexingRuleValue.Builder,,IndexingRuleValue> SdkPojo
- Enclosing class:
IndexingRuleValue
public static interface IndexingRuleValue.Builder
extends SdkPojo, CopyableBuilder<IndexingRuleValue.Builder,IndexingRuleValue>
-
Method Summary
Modifier and TypeMethodDescriptiondefault IndexingRuleValue.Builderprobabilistic(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
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 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:
-