Interface PrefixLevelStorageMetrics.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PrefixLevelStorageMetrics.Builder,
,PrefixLevelStorageMetrics> SdkBuilder<PrefixLevelStorageMetrics.Builder,
,PrefixLevelStorageMetrics> SdkPojo
- Enclosing class:
PrefixLevelStorageMetrics
public static interface PrefixLevelStorageMetrics.Builder
extends SdkPojo, CopyableBuilder<PrefixLevelStorageMetrics.Builder,PrefixLevelStorageMetrics>
-
Method Summary
Modifier and TypeMethodDescriptionA container for whether prefix-level storage metrics are enabled.selectionCriteria
(Consumer<SelectionCriteria.Builder> selectionCriteria) Sets the value of the SelectionCriteria property for this object.selectionCriteria
(SelectionCriteria selectionCriteria) Sets the value of the SelectionCriteria property for this object.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
-
isEnabled
A container for whether prefix-level storage metrics are enabled.
- Parameters:
isEnabled
- A container for whether prefix-level storage metrics are enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectionCriteria
Sets the value of the SelectionCriteria property for this object.- Parameters:
selectionCriteria
- The new value for the SelectionCriteria property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectionCriteria
default PrefixLevelStorageMetrics.Builder selectionCriteria(Consumer<SelectionCriteria.Builder> selectionCriteria) Sets the value of the SelectionCriteria property for this object. This is a convenience method that creates an instance of theSelectionCriteria.Builder
avoiding the need to create one manually viaSelectionCriteria.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toselectionCriteria(SelectionCriteria)
.- Parameters:
selectionCriteria
- a consumer that will call methods onSelectionCriteria.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-