Interface PrefixLevelStorageMetrics.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<PrefixLevelStorageMetrics.Builder,,- PrefixLevelStorageMetrics> - SdkBuilder<PrefixLevelStorageMetrics.Builder,,- PrefixLevelStorageMetrics> - SdkPojo
- Enclosing class:
- PrefixLevelStorageMetrics
@Mutable
@NotThreadSafe
public static interface PrefixLevelStorageMetrics.Builder
extends SdkPojo, CopyableBuilder<PrefixLevelStorageMetrics.Builder,PrefixLevelStorageMetrics> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
isEnabledA 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.
 
- 
selectionCriteriaSets 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.
 
- 
selectionCriteriadefault 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.Builderavoiding the need to create one manually viaSelectionCriteria.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toselectionCriteria(SelectionCriteria).- Parameters:
- selectionCriteria- a consumer that will call methods on- SelectionCriteria.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-