Interface MemoryDbCluster.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MemoryDbCluster.Builder,,MemoryDbCluster> SdkBuilder<MemoryDbCluster.Builder,,MemoryDbCluster> SdkPojo
- Enclosing class:
MemoryDbCluster
@Mutable
@NotThreadSafe
public static interface MemoryDbCluster.Builder
extends SdkPojo, CopyableBuilder<MemoryDbCluster.Builder,MemoryDbCluster>
-
Method Summary
Modifier and TypeMethodDescriptiondefault MemoryDbCluster.BuildercostCalculation(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
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
-
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 MemoryDbCluster.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:
-