Interface DynamoDbReservedCapacity.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DynamoDbReservedCapacity.Builder,,DynamoDbReservedCapacity> SdkBuilder<DynamoDbReservedCapacity.Builder,,DynamoDbReservedCapacity> SdkPojo
- Enclosing class:
DynamoDbReservedCapacity
@Mutable
@NotThreadSafe
public static interface DynamoDbReservedCapacity.Builder
extends SdkPojo, CopyableBuilder<DynamoDbReservedCapacity.Builder,DynamoDbReservedCapacity>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DynamoDbReservedCapacity.Builderconfiguration(Consumer<DynamoDbReservedCapacityConfiguration.Builder> configuration) The DynamoDB reserved capacity configuration used for recommendations.configuration(DynamoDbReservedCapacityConfiguration configuration) The DynamoDB reserved capacity configuration used for recommendations.default DynamoDbReservedCapacity.BuildercostCalculation(Consumer<ReservedInstancesCostCalculation.Builder> costCalculation) Sets the value of the CostCalculation property for this object.costCalculation(ReservedInstancesCostCalculation costCalculation) Sets the value of the CostCalculation property for this object.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 DynamoDB reserved capacity configuration used for recommendations.
- Parameters:
configuration- The DynamoDB reserved capacity configuration used for recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default DynamoDbReservedCapacity.Builder configuration(Consumer<DynamoDbReservedCapacityConfiguration.Builder> configuration) The DynamoDB reserved capacity configuration used for recommendations.
This is a convenience method that creates an instance of theDynamoDbReservedCapacityConfiguration.Builderavoiding the need to create one manually viaDynamoDbReservedCapacityConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(DynamoDbReservedCapacityConfiguration).- Parameters:
configuration- a consumer that will call methods onDynamoDbReservedCapacityConfiguration.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 DynamoDbReservedCapacity.Builder costCalculation(Consumer<ReservedInstancesCostCalculation.Builder> costCalculation) Sets the value of the CostCalculation property for this object. 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:
-