Interface RdsReservedInstances.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RdsReservedInstances.Builder,,RdsReservedInstances> SdkBuilder<RdsReservedInstances.Builder,,RdsReservedInstances> SdkPojo
- Enclosing class:
RdsReservedInstances
@Mutable
@NotThreadSafe
public static interface RdsReservedInstances.Builder
extends SdkPojo, CopyableBuilder<RdsReservedInstances.Builder,RdsReservedInstances>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RdsReservedInstances.Builderconfiguration(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.BuildercostCalculation(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
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
-
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.Builderavoiding the need to create one manually viaRdsReservedInstancesConfiguration.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaReservedInstancesCostCalculation.builder().When the
Consumercompletes,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:
-