Interface OpsAggregator.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OpsAggregator.Builder,,OpsAggregator> SdkBuilder<OpsAggregator.Builder,,OpsAggregator> SdkPojo
- Enclosing class:
OpsAggregator
@Mutable
@NotThreadSafe
public static interface OpsAggregator.Builder
extends SdkPojo, CopyableBuilder<OpsAggregator.Builder,OpsAggregator>
-
Method Summary
Modifier and TypeMethodDescriptionaggregators(Collection<OpsAggregator> aggregators) A nested aggregator for viewing counts of OpsData.aggregators(Consumer<OpsAggregator.Builder>... aggregators) A nested aggregator for viewing counts of OpsData.aggregators(OpsAggregator... aggregators) A nested aggregator for viewing counts of OpsData.aggregatorType(String aggregatorType) Either aRangeorCountaggregator for limiting an OpsData summary.attributeName(String attributeName) The name of an OpsData attribute on which to limit the count of OpsData.filters(Collection<OpsFilter> filters) The aggregator filters.filters(Consumer<OpsFilter.Builder>... filters) The aggregator filters.The aggregator filters.The data type name to use for viewing counts of OpsData.The aggregator value.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
-
aggregatorType
Either a
RangeorCountaggregator for limiting an OpsData summary.- Parameters:
aggregatorType- Either aRangeorCountaggregator for limiting an OpsData summary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
typeName
The data type name to use for viewing counts of OpsData.
- Parameters:
typeName- The data type name to use for viewing counts of OpsData.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeName
The name of an OpsData attribute on which to limit the count of OpsData.
- Parameters:
attributeName- The name of an OpsData attribute on which to limit the count of OpsData.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
The aggregator value.
- Parameters:
values- The aggregator value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The aggregator filters.
- Parameters:
filters- The aggregator filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The aggregator filters.
- Parameters:
filters- The aggregator filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The aggregator filters.
This is a convenience method that creates an instance of theOpsFilter.Builderavoiding the need to create one manually viaOpsFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<OpsFilter>).- Parameters:
filters- a consumer that will call methods onOpsFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aggregators
A nested aggregator for viewing counts of OpsData.
- Parameters:
aggregators- A nested aggregator for viewing counts of OpsData.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregators
A nested aggregator for viewing counts of OpsData.
- Parameters:
aggregators- A nested aggregator for viewing counts of OpsData.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregators
A nested aggregator for viewing counts of OpsData.
This is a convenience method that creates an instance of theOpsAggregator.Builderavoiding the need to create one manually viaOpsAggregator.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaggregators(List<OpsAggregator>).- Parameters:
aggregators- a consumer that will call methods onOpsAggregator.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-