Interface AggregationOutput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AggregationOutput.Builder,,AggregationOutput> SdkBuilder<AggregationOutput.Builder,,AggregationOutput> SdkPojo
- Enclosing class:
AggregationOutput
@Mutable
@NotThreadSafe
public static interface AggregationOutput.Builder
extends SdkPojo, CopyableBuilder<AggregationOutput.Builder,AggregationOutput>
-
Method Summary
Modifier and TypeMethodDescriptionThe attribute for this aggregation.displayValue(String displayValue) The display value of the aggregation output item.items(Collection<AggregationOutputItem> items) A list of aggregation output items.items(Consumer<AggregationOutputItem.Builder>... items) A list of aggregation output items.items(AggregationOutputItem... items) A list of aggregation output items.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
-
attribute
The attribute for this aggregation.
- Parameters:
attribute- The attribute for this aggregation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayValue
The display value of the aggregation output item.
- Parameters:
displayValue- The display value of the aggregation output item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A list of aggregation output items.
- Parameters:
items- A list of aggregation output items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A list of aggregation output items.
- Parameters:
items- A list of aggregation output items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A list of aggregation output items.
This is a convenience method that creates an instance of theAggregationOutputItem.Builderavoiding the need to create one manually viaAggregationOutputItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<AggregationOutputItem>).- Parameters:
items- a consumer that will call methods onAggregationOutputItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-