Interface StorageLensCostAndUsageReportsPrefixLevel.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<StorageLensCostAndUsageReportsPrefixLevel.Builder,,StorageLensCostAndUsageReportsPrefixLevel> SdkBuilder<StorageLensCostAndUsageReportsPrefixLevel.Builder,,StorageLensCostAndUsageReportsPrefixLevel> SdkPojo
- Enclosing class:
StorageLensCostAndUsageReportsPrefixLevel
@Mutable
@NotThreadSafe
public static interface StorageLensCostAndUsageReportsPrefixLevel.Builder
extends SdkPojo, CopyableBuilder<StorageLensCostAndUsageReportsPrefixLevel.Builder,StorageLensCostAndUsageReportsPrefixLevel>
-
Method Summary
Modifier and TypeMethodDescriptionIndicates whether prefix-level cost data publishing to Amazon Web Services CUR is enabled.selectionCriteria(Consumer<StorageLensCostAndUsageReportsSelectionCriteria.Builder> selectionCriteria) A container for the selection criteria that determines the prefix depths for which cost data is published to Amazon Web Services CUR.selectionCriteria(StorageLensCostAndUsageReportsSelectionCriteria selectionCriteria) A container for the selection criteria that determines the prefix depths for which cost data is published to Amazon Web Services CUR.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
-
isEnabled
Indicates whether prefix-level cost data publishing to Amazon Web Services CUR is enabled.
- Parameters:
isEnabled- Indicates whether prefix-level cost data publishing to Amazon Web Services CUR is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectionCriteria
StorageLensCostAndUsageReportsPrefixLevel.Builder selectionCriteria(StorageLensCostAndUsageReportsSelectionCriteria selectionCriteria) A container for the selection criteria that determines the prefix depths for which cost data is published to Amazon Web Services CUR.
- Parameters:
selectionCriteria- A container for the selection criteria that determines the prefix depths for which cost data is published to Amazon Web Services CUR.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectionCriteria
default StorageLensCostAndUsageReportsPrefixLevel.Builder selectionCriteria(Consumer<StorageLensCostAndUsageReportsSelectionCriteria.Builder> selectionCriteria) A container for the selection criteria that determines the prefix depths for which cost data is published to Amazon Web Services CUR.
This is a convenience method that creates an instance of theStorageLensCostAndUsageReportsSelectionCriteria.Builderavoiding the need to create one manually viaStorageLensCostAndUsageReportsSelectionCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toselectionCriteria(StorageLensCostAndUsageReportsSelectionCriteria).- Parameters:
selectionCriteria- a consumer that will call methods onStorageLensCostAndUsageReportsSelectionCriteria.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-