Interface RdsDbInstanceStorage.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RdsDbInstanceStorage.Builder,RdsDbInstanceStorage>,SdkBuilder<RdsDbInstanceStorage.Builder,RdsDbInstanceStorage>,SdkPojo
- Enclosing class:
- RdsDbInstanceStorage
public static interface RdsDbInstanceStorage.Builder extends SdkPojo, CopyableBuilder<RdsDbInstanceStorage.Builder,RdsDbInstanceStorage>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RdsDbInstanceStorage.Builderconfiguration(Consumer<RdsDbInstanceStorageConfiguration.Builder> configuration)The Amazon RDS DB instance storage configuration used for recommendations.RdsDbInstanceStorage.Builderconfiguration(RdsDbInstanceStorageConfiguration configuration)The Amazon RDS DB instance storage configuration used for recommendations.default RdsDbInstanceStorage.BuildercostCalculation(Consumer<ResourceCostCalculation.Builder> costCalculation)Sets the value of the CostCalculation property for this object.RdsDbInstanceStorage.BuildercostCalculation(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 Detail
-
configuration
RdsDbInstanceStorage.Builder configuration(RdsDbInstanceStorageConfiguration configuration)
The Amazon RDS DB instance storage configuration used for recommendations.
- Parameters:
configuration- The Amazon RDS DB instance storage configuration used for recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default RdsDbInstanceStorage.Builder configuration(Consumer<RdsDbInstanceStorageConfiguration.Builder> configuration)
The Amazon RDS DB instance storage configuration used for recommendations.
This is a convenience method that creates an instance of theRdsDbInstanceStorageConfiguration.Builderavoiding the need to create one manually viaRdsDbInstanceStorageConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(RdsDbInstanceStorageConfiguration).- Parameters:
configuration- a consumer that will call methods onRdsDbInstanceStorageConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
configuration(RdsDbInstanceStorageConfiguration)
-
costCalculation
RdsDbInstanceStorage.Builder costCalculation(ResourceCostCalculation 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 RdsDbInstanceStorage.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.Builderavoiding the need to create one manually viaResourceCostCalculation.builder().When the
Consumercompletes,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:
costCalculation(ResourceCostCalculation)
-
-