Interface Conditions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Conditions.Builder,
,Conditions> SdkBuilder<Conditions.Builder,
,Conditions> SdkPojo
- Enclosing class:
Conditions
public static interface Conditions.Builder
extends SdkPojo, CopyableBuilder<Conditions.Builder,Conditions>
-
Method Summary
Modifier and TypeMethodDescriptionobjectCount
(Integer objectCount) The number of profile objects used for the calculated attribute.default Conditions.Builder
range
(Consumer<Range.Builder> range) The relative time period over which data is included in the aggregation.The relative time period over which data is included in the aggregation.default Conditions.Builder
threshold
(Consumer<Threshold.Builder> threshold) The threshold for the calculated attribute.The threshold for the calculated attribute.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
range
The relative time period over which data is included in the aggregation.
- Parameters:
range
- The relative time period over which data is included in the aggregation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
range
The relative time period over which data is included in the aggregation.
This is a convenience method that creates an instance of theRange.Builder
avoiding the need to create one manually viaRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torange(Range)
.- Parameters:
range
- a consumer that will call methods onRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
objectCount
The number of profile objects used for the calculated attribute.
- Parameters:
objectCount
- The number of profile objects used for the calculated attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threshold
The threshold for the calculated attribute.
- Parameters:
threshold
- The threshold for the calculated attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threshold
The threshold for the calculated attribute.
This is a convenience method that creates an instance of theThreshold.Builder
avoiding the need to create one manually viaThreshold.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tothreshold(Threshold)
.- Parameters:
threshold
- a consumer that will call methods onThreshold.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-