Interface AuroraDbClusterStorage.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AuroraDbClusterStorage.Builder,
,AuroraDbClusterStorage> SdkBuilder<AuroraDbClusterStorage.Builder,
,AuroraDbClusterStorage> SdkPojo
- Enclosing class:
AuroraDbClusterStorage
@Mutable
@NotThreadSafe
public static interface AuroraDbClusterStorage.Builder
extends SdkPojo, CopyableBuilder<AuroraDbClusterStorage.Builder,AuroraDbClusterStorage>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AuroraDbClusterStorage.Builder
configuration
(Consumer<AuroraDbClusterStorageConfiguration.Builder> configuration) The Aurora DB cluster storage configuration used for recommendations.configuration
(AuroraDbClusterStorageConfiguration configuration) The Aurora DB cluster storage configuration used for recommendations.default AuroraDbClusterStorage.Builder
costCalculation
(Consumer<ResourceCostCalculation.Builder> costCalculation) Sets the value of the CostCalculation property for this object.costCalculation
(ResourceCostCalculation costCalculation) Sets the value of the CostCalculation 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, sdkFieldNameToField, sdkFields
-
Method Details
-
configuration
The Aurora DB cluster storage configuration used for recommendations.
- Parameters:
configuration
- The Aurora DB cluster storage configuration used for recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default AuroraDbClusterStorage.Builder configuration(Consumer<AuroraDbClusterStorageConfiguration.Builder> configuration) The Aurora DB cluster storage configuration used for recommendations.
This is a convenience method that creates an instance of theAuroraDbClusterStorageConfiguration.Builder
avoiding the need to create one manually viaAuroraDbClusterStorageConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(AuroraDbClusterStorageConfiguration)
.- Parameters:
configuration
- a consumer that will call methods onAuroraDbClusterStorageConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
costCalculation
Sets the value of the CostCalculation property for this object.- Parameters:
costCalculation
- The new value for the CostCalculation property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
costCalculation
default AuroraDbClusterStorage.Builder costCalculation(Consumer<ResourceCostCalculation.Builder> costCalculation) Sets the value of the CostCalculation property for this object. This is a convenience method that creates an instance of theResourceCostCalculation.Builder
avoiding the need to create one manually viaResourceCostCalculation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocostCalculation(ResourceCostCalculation)
.- Parameters:
costCalculation
- a consumer that will call methods onResourceCostCalculation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-