Interface RdsReservedInstances.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RdsReservedInstances.Builder,
,RdsReservedInstances> SdkBuilder<RdsReservedInstances.Builder,
,RdsReservedInstances> SdkPojo
- Enclosing class:
RdsReservedInstances
public static interface RdsReservedInstances.Builder
extends SdkPojo, CopyableBuilder<RdsReservedInstances.Builder,RdsReservedInstances>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RdsReservedInstances.Builder
configuration
(Consumer<RdsReservedInstancesConfiguration.Builder> configuration) The RDS reserved instances configuration used for recommendations.configuration
(RdsReservedInstancesConfiguration configuration) The RDS reserved instances configuration used for recommendations.default RdsReservedInstances.Builder
costCalculation
(Consumer<ReservedInstancesCostCalculation.Builder> costCalculation) Cost impact of the purchase recommendation.costCalculation
(ReservedInstancesCostCalculation costCalculation) Cost impact of the purchase recommendation.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
-
configuration
The RDS reserved instances configuration used for recommendations.
- Parameters:
configuration
- The RDS reserved instances configuration used for recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default RdsReservedInstances.Builder configuration(Consumer<RdsReservedInstancesConfiguration.Builder> configuration) The RDS reserved instances configuration used for recommendations.
This is a convenience method that creates an instance of theRdsReservedInstancesConfiguration.Builder
avoiding the need to create one manually viaRdsReservedInstancesConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(RdsReservedInstancesConfiguration)
.- Parameters:
configuration
- a consumer that will call methods onRdsReservedInstancesConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
costCalculation
Cost impact of the purchase recommendation.
- Parameters:
costCalculation
- Cost impact of the purchase recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
costCalculation
default RdsReservedInstances.Builder costCalculation(Consumer<ReservedInstancesCostCalculation.Builder> costCalculation) Cost impact of the purchase recommendation.
This is a convenience method that creates an instance of theReservedInstancesCostCalculation.Builder
avoiding the need to create one manually viaReservedInstancesCostCalculation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocostCalculation(ReservedInstancesCostCalculation)
.- Parameters:
costCalculation
- a consumer that will call methods onReservedInstancesCostCalculation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-