Interface TraceAttributeStats.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TraceAttributeStats.Builder,,TraceAttributeStats> SdkBuilder<TraceAttributeStats.Builder,,TraceAttributeStats> SdkPojo
- Enclosing class:
TraceAttributeStats
-
Method Summary
Modifier and TypeMethodDescriptionThe number of distinct values across the cases.The span attribute these values are for.name(TraceAttributeName name) The span attribute these values are for.values(Collection<TraceAttributeValue> values) The most common values, up to 10, ordered by number of cases (most first) and then by value.values(Consumer<TraceAttributeValue.Builder>... values) The most common values, up to 10, ordered by number of cases (most first) and then by value.values(TraceAttributeValue... values) The most common values, up to 10, ordered by number of cases (most first) and then by value.valuesHash(String valuesHash) A SHA-256 hash of the sorted distinct values, one per line, in the form sha256:<64 hex digits>.The version of the attribute's definition.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
-
name
The span attribute these values are for.
- Parameters:
name- The span attribute these values are for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The span attribute these values are for.
- Parameters:
name- The span attribute these values are for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
version
The version of the attribute's definition. Two runs' stats are comparable only at equal versions.
- Parameters:
version- The version of the attribute's definition. Two runs' stats are comparable only at equal versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
distinct
The number of distinct values across the cases.
- Parameters:
distinct- The number of distinct values across the cases.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valuesHash
A SHA-256 hash of the sorted distinct values, one per line, in the form sha256:<64 hex digits>. Equal sets of values have equal hashes, even when values is truncated.
- Parameters:
valuesHash- A SHA-256 hash of the sorted distinct values, one per line, in the form sha256:<64 hex digits>. Equal sets of values have equal hashes, even when values is truncated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
The most common values, up to 10, ordered by number of cases (most first) and then by value.
- Parameters:
values- The most common values, up to 10, ordered by number of cases (most first) and then by value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
The most common values, up to 10, ordered by number of cases (most first) and then by value.
- Parameters:
values- The most common values, up to 10, ordered by number of cases (most first) and then by value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
The most common values, up to 10, ordered by number of cases (most first) and then by value.
This is a convenience method that creates an instance of theTraceAttributeValue.Builderavoiding the need to create one manually viaTraceAttributeValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalues(List<TraceAttributeValue>).- Parameters:
values- a consumer that will call methods onTraceAttributeValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-