Interface GetPlanRecommendationResponse.Builder
- All Superinterfaces:
AppMonetizationResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetPlanRecommendationResponse.Builder,,GetPlanRecommendationResponse> SdkBuilder<GetPlanRecommendationResponse.Builder,,GetPlanRecommendationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetPlanRecommendationResponse
-
Method Summary
Modifier and TypeMethodDescriptionalternatives(Consumer<AlternativesOutcome.Builder> alternatives) Which comparable apps were used and which were not.alternatives(AlternativesOutcome alternatives) Which comparable apps were used and which were not.analysis(Consumer<PricingAnalysis.Builder> analysis) How the recommendation compares with other pricing models.analysis(PricingAnalysis analysis) How the recommendation compares with other pricing models.What the price is based on: modeled demand, or, without a value estimate, cost or comparables.confidence(String confidence) Confidence in the recommendation.confidence(RecommendationConfidence confidence) Confidence in the recommendation.confidenceReason(String confidenceReason) Why the confidence is what it is.costs(Consumer<CostOutcome.Builder> costs) How the recommended price relates to cost to serve.costs(CostOutcome costs) How the recommended price relates to cost to serve.creditPacks(Collection<RecommendedCreditPack> creditPacks) One-time credit packs sold alongside the plans.creditPacks(Consumer<RecommendedCreditPack.Builder>... creditPacks) One-time credit packs sold alongside the plans.creditPacks(RecommendedCreditPack... creditPacks) One-time credit packs sold alongside the plans.The same text assummarywith a Details section on how the recommendation was worked out, for a developer who asks for details.planOptions(Consumer<PlanOptionsOutcome.Builder> planOptions) What became of the request'splanOptions: the pricing-model preference, the Free and Max plans and the evaluated plan prices.planOptions(PlanOptionsOutcome planOptions) What became of the request'splanOptions: the pricing-model preference, the Free and Max plans and the evaluated plan prices.plans(Collection<RecommendedPlan> plans) The recommended plans.plans(Consumer<RecommendedPlan.Builder>... plans) The recommended plans.plans(RecommendedPlan... plans) The recommended plans.pricingModel(String pricingModel) The recommended pricing model.pricingModel(PricingModel pricingModel) The recommended pricing model.recommendationVersion(String recommendationVersion) Identifies the recommendation model and benchmark data behind this answer, for support.recommendedPrice(Consumer<Price.Builder> recommendedPrice) Recommended monthly price of the main paid plan, for FLAT and TIERED.recommendedPrice(Price recommendedPrice) Recommended monthly price of the main paid plan, for FLAT and TIERED.recommendedPriceRange(Consumer<PriceRange.Builder> recommendedPriceRange) Prices whose modeled profit is within a few percent of the best, when the profit curve is flat near its top.recommendedPriceRange(PriceRange recommendedPriceRange) Prices whose modeled profit is within a few percent of the best, when the profit curve is flat near its top.The recommendation as text for the developer: the price, the plans, the reasons and the assumptions behind them.unitPrices(Collection<UnitPrice> unitPrices) Price per use of each action, for PER_USE and PER_USE_SPLIT.unitPrices(Consumer<UnitPrice.Builder>... unitPrices) Price per use of each action, for PER_USE and PER_USE_SPLIT.unitPrices(UnitPrice... unitPrices) Price per use of each action, for PER_USE and PER_USE_SPLIT.Viability verdict.verdict(RecommendationVerdict verdict) Viability verdict.Methods inherited from interface software.amazon.awssdk.services.appmonetization.model.AppMonetizationResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
pricingModel
The recommended pricing model. Equals the request's
planOptions.pricingModelPreferencewhenplanOptions.preferenceOutcomeis HONORED.- Parameters:
pricingModel- The recommended pricing model. Equals the request'splanOptions.pricingModelPreferencewhenplanOptions.preferenceOutcomeis HONORED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pricingModel
The recommended pricing model. Equals the request's
planOptions.pricingModelPreferencewhenplanOptions.preferenceOutcomeis HONORED.- Parameters:
pricingModel- The recommended pricing model. Equals the request'splanOptions.pricingModelPreferencewhenplanOptions.preferenceOutcomeis HONORED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recommendedPrice
Recommended monthly price of the main paid plan, for FLAT and TIERED. When an annual plan is recommended, it is in
planswithbillingCycleANNUAL; this is still the monthly price.- Parameters:
recommendedPrice- Recommended monthly price of the main paid plan, for FLAT and TIERED. When an annual plan is recommended, it is inplanswithbillingCycleANNUAL; this is still the monthly price.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedPrice
default GetPlanRecommendationResponse.Builder recommendedPrice(Consumer<Price.Builder> recommendedPrice) Recommended monthly price of the main paid plan, for FLAT and TIERED. When an annual plan is recommended, it is in
This is a convenience method that creates an instance of theplanswithbillingCycleANNUAL; this is still the monthly price.Price.Builderavoiding the need to create one manually viaPrice.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecommendedPrice(Price).- Parameters:
recommendedPrice- 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:
-
recommendedPriceRange
Prices whose modeled profit is within a few percent of the best, when the profit curve is flat near its top.
recommendedPriceis the middle of this range.- Parameters:
recommendedPriceRange- Prices whose modeled profit is within a few percent of the best, when the profit curve is flat near its top.recommendedPriceis the middle of this range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedPriceRange
default GetPlanRecommendationResponse.Builder recommendedPriceRange(Consumer<PriceRange.Builder> recommendedPriceRange) Prices whose modeled profit is within a few percent of the best, when the profit curve is flat near its top.
This is a convenience method that creates an instance of therecommendedPriceis the middle of this range.PriceRange.Builderavoiding the need to create one manually viaPriceRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecommendedPriceRange(PriceRange).- Parameters:
recommendedPriceRange- a consumer that will call methods onPriceRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
unitPrices
Price per use of each action, for PER_USE and PER_USE_SPLIT.
- Parameters:
unitPrices- Price per use of each action, for PER_USE and PER_USE_SPLIT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unitPrices
Price per use of each action, for PER_USE and PER_USE_SPLIT.
- Parameters:
unitPrices- Price per use of each action, for PER_USE and PER_USE_SPLIT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unitPrices
Price per use of each action, for PER_USE and PER_USE_SPLIT.
This is a convenience method that creates an instance of theUnitPrice.Builderavoiding the need to create one manually viaUnitPrice.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tounitPrices(List<UnitPrice>).- Parameters:
unitPrices- a consumer that will call methods onUnitPrice.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
plans
The recommended plans. To create them, map each
actionNameto the app's metric ID.- Parameters:
plans- The recommended plans. To create them, map eachactionNameto the app's metric ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
plans
The recommended plans. To create them, map each
actionNameto the app's metric ID.- Parameters:
plans- The recommended plans. To create them, map eachactionNameto the app's metric ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
plans
The recommended plans. To create them, map each
This is a convenience method that creates an instance of theactionNameto the app's metric ID.RecommendedPlan.Builderavoiding the need to create one manually viaRecommendedPlan.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toplans(List<RecommendedPlan>).- Parameters:
plans- a consumer that will call methods onRecommendedPlan.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creditPacks
One-time credit packs sold alongside the plans. Empty unless the request's
planOptions.creditPackInclusionwas INCLUDE.- Parameters:
creditPacks- One-time credit packs sold alongside the plans. Empty unless the request'splanOptions.creditPackInclusionwas INCLUDE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creditPacks
One-time credit packs sold alongside the plans. Empty unless the request's
planOptions.creditPackInclusionwas INCLUDE.- Parameters:
creditPacks- One-time credit packs sold alongside the plans. Empty unless the request'splanOptions.creditPackInclusionwas INCLUDE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creditPacks
GetPlanRecommendationResponse.Builder creditPacks(Consumer<RecommendedCreditPack.Builder>... creditPacks) One-time credit packs sold alongside the plans. Empty unless the request's
This is a convenience method that creates an instance of theplanOptions.creditPackInclusionwas INCLUDE.RecommendedCreditPack.Builderavoiding the need to create one manually viaRecommendedCreditPack.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocreditPacks(List<RecommendedCreditPack>).- Parameters:
creditPacks- a consumer that will call methods onRecommendedCreditPack.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
verdict
Viability verdict.
- Parameters:
verdict- Viability verdict.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
verdict
Viability verdict.
- Parameters:
verdict- Viability verdict.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
confidence
Confidence in the recommendation.
- Parameters:
confidence- Confidence in the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
confidence
Confidence in the recommendation.
- Parameters:
confidence- Confidence in the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
confidenceReason
Why the confidence is what it is.
- Parameters:
confidenceReason- Why the confidence is what it is.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
basis
What the price is based on: modeled demand, or, without a value estimate, cost or comparables.
- Parameters:
basis- What the price is based on: modeled demand, or, without a value estimate, cost or comparables.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
costs
How the recommended price relates to cost to serve.
- Parameters:
costs- How the recommended price relates to cost to serve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
costs
How the recommended price relates to cost to serve.
This is a convenience method that creates an instance of theCostOutcome.Builderavoiding the need to create one manually viaCostOutcome.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocosts(CostOutcome).- Parameters:
costs- a consumer that will call methods onCostOutcome.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
alternatives
Which comparable apps were used and which were not.
- Parameters:
alternatives- Which comparable apps were used and which were not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alternatives
default GetPlanRecommendationResponse.Builder alternatives(Consumer<AlternativesOutcome.Builder> alternatives) Which comparable apps were used and which were not.
This is a convenience method that creates an instance of theAlternativesOutcome.Builderavoiding the need to create one manually viaAlternativesOutcome.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toalternatives(AlternativesOutcome).- Parameters:
alternatives- a consumer that will call methods onAlternativesOutcome.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
planOptions
What became of the request's
planOptions: the pricing-model preference, the Free and Max plans and the evaluated plan prices.- Parameters:
planOptions- What became of the request'splanOptions: the pricing-model preference, the Free and Max plans and the evaluated plan prices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
planOptions
default GetPlanRecommendationResponse.Builder planOptions(Consumer<PlanOptionsOutcome.Builder> planOptions) What became of the request's
This is a convenience method that creates an instance of theplanOptions: the pricing-model preference, the Free and Max plans and the evaluated plan prices.PlanOptionsOutcome.Builderavoiding the need to create one manually viaPlanOptionsOutcome.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toplanOptions(PlanOptionsOutcome).- Parameters:
planOptions- a consumer that will call methods onPlanOptionsOutcome.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
analysis
How the recommendation compares with other pricing models.
- Parameters:
analysis- How the recommendation compares with other pricing models.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analysis
How the recommendation compares with other pricing models.
This is a convenience method that creates an instance of thePricingAnalysis.Builderavoiding the need to create one manually viaPricingAnalysis.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toanalysis(PricingAnalysis).- Parameters:
analysis- a consumer that will call methods onPricingAnalysis.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recommendationVersion
Identifies the recommendation model and benchmark data behind this answer, for support. It changes when either changes.
- Parameters:
recommendationVersion- Identifies the recommendation model and benchmark data behind this answer, for support. It changes when either changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summary
The recommendation as text for the developer: the price, the plans, the reasons and the assumptions behind them.
- Parameters:
summary- The recommendation as text for the developer: the price, the plans, the reasons and the assumptions behind them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
The same text as
summarywith a Details section on how the recommendation was worked out, for a developer who asks for details. Some figures appear only insummaryanddetails.- Parameters:
details- The same text assummarywith a Details section on how the recommendation was worked out, for a developer who asks for details. Some figures appear only insummaryanddetails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-