Interface ModelComparison.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ModelComparison.Builder,,ModelComparison> SdkBuilder<ModelComparison.Builder,,ModelComparison> SdkPojo
- Enclosing class:
ModelComparison
@Mutable
@NotThreadSafe
public static interface ModelComparison.Builder
extends SdkPojo, CopyableBuilder<ModelComparison.Builder,ModelComparison>
-
Method Summary
Modifier and TypeMethodDescriptionProfit as a share of revenue, to 2 decimal places.monthlyProfit(String monthlyProfit) Modeled monthly profit, which can be negative.default ModelComparison.BuildermonthlyRevenue(Consumer<Price.Builder> monthlyRevenue) Modeled monthly revenue.monthlyRevenue(Price monthlyRevenue) Modeled monthly revenue.Modeled share of potential customers who pay, to 2 decimal places.pricingModel(String pricingModel) The pricing model.pricingModel(PricingModel pricingModel) The pricing model.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
-
pricingModel
The pricing model. With a value estimate a per-use model is listed as PER_USE, also when
pricingModelis PER_USE_SPLIT; without one the only row ispricingModel.- Parameters:
pricingModel- The pricing model. With a value estimate a per-use model is listed as PER_USE, also whenpricingModelis PER_USE_SPLIT; without one the only row ispricingModel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pricingModel
The pricing model. With a value estimate a per-use model is listed as PER_USE, also when
pricingModelis PER_USE_SPLIT; without one the only row ispricingModel.- Parameters:
pricingModel- The pricing model. With a value estimate a per-use model is listed as PER_USE, also whenpricingModelis PER_USE_SPLIT; without one the only row ispricingModel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
monthlyProfit
Modeled monthly profit, which can be negative.
- Parameters:
monthlyProfit- Modeled monthly profit, which can be negative.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monthlyRevenue
Modeled monthly revenue.
- Parameters:
monthlyRevenue- Modeled monthly revenue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monthlyRevenue
Modeled monthly revenue.
This is a convenience method that creates an instance of thePrice.Builderavoiding the need to create one manually viaPrice.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomonthlyRevenue(Price).- Parameters:
monthlyRevenue- a consumer that will call methods onPrice.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
margin
Profit as a share of revenue, to 2 decimal places. Absent when revenue is zero.
- Parameters:
margin- Profit as a share of revenue, to 2 decimal places. Absent when revenue is zero.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-