Interface Comparable.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Comparable.Builder,,Comparable> SdkBuilder<Comparable.Builder,,Comparable> SdkPojo
- Enclosing class:
Comparable
-
Method Summary
Modifier and TypeMethodDescriptionMonthly usage cap of the free tier, for FREE_CAPPED and FREEMIUM.Its scores on the characteristics infeatures, instead ofquality.includedUnits(Double includedUnits) For PAID_SUB: units of this app's billable action the plan includes per month.How the comparable charges.mechanism(ComparableMechanism mechanism) How the comparable charges.Short name of the comparable app.overageRate(Double overageRate) For PAID_SUB withincludedUnits: price per unit past the allowance, in USD.default Comparable.Builderprice(Consumer<Price.Builder> price) Its price: per month for PAID_SUB, per use for PER_REQUEST, 0 for FREE_CAPPED and FREEMIUM, the one-time price for ONE_TIME.Its price: per month for PAID_SUB, per use for PER_REQUEST, 0 for FREE_CAPPED and FREEMIUM, the one-time price for ONE_TIME.How good it is compared with this app, where this app is 1.The public pricing page the price was read from.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
-
name
Short name of the comparable app. Absent: the host of
url, lowercased, without a leadingwww.; when two comparables get the same name, the later ones get(2),(3).- Parameters:
name- Short name of the comparable app. Absent: the host ofurl, lowercased, without a leadingwww.; when two comparables get the same name, the later ones get(2),(3).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
url
The public pricing page the price was read from.
- Parameters:
url- The public pricing page the price was read from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mechanism
How the comparable charges.
- Parameters:
mechanism- How the comparable charges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mechanism
How the comparable charges.
- Parameters:
mechanism- How the comparable charges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
price
Its price: per month for PAID_SUB, per use for PER_REQUEST, 0 for FREE_CAPPED and FREEMIUM, the one-time price for ONE_TIME. USD only: another currencyCode is rejected.
- Parameters:
price- Its price: per month for PAID_SUB, per use for PER_REQUEST, 0 for FREE_CAPPED and FREEMIUM, the one-time price for ONE_TIME. USD only: another currencyCode is rejected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
price
Its price: per month for PAID_SUB, per use for PER_REQUEST, 0 for FREE_CAPPED and FREEMIUM, the one-time price for ONE_TIME. USD only: another currencyCode is rejected.
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 toprice(Price).- Parameters:
price- 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:
-
cap
Monthly usage cap of the free tier, for FREE_CAPPED and FREEMIUM. A free tier without a cap is not used.
- Parameters:
cap- Monthly usage cap of the free tier, for FREE_CAPPED and FREEMIUM. A free tier without a cap is not used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includedUnits
For PAID_SUB: units of this app's billable action the plan includes per month. With
overageRate, a customer pays the plan price plus overage at their own usage; without it, the plan stops at this allowance. Absent: the plan price covers any usage.- Parameters:
includedUnits- For PAID_SUB: units of this app's billable action the plan includes per month. WithoverageRate, a customer pays the plan price plus overage at their own usage; without it, the plan stops at this allowance. Absent: the plan price covers any usage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overageRate
For PAID_SUB with
includedUnits: price per unit past the allowance, in USD. Absent: the plan stops atincludedUnits(no overage).- Parameters:
overageRate- For PAID_SUB withincludedUnits: price per unit past the allowance, in USD. Absent: the plan stops atincludedUnits(no overage).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quality
How good it is compared with this app, where this app is 1.
- Parameters:
quality- How good it is compared with this app, where this app is 1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
features
Its scores on the characteristics in
features, instead ofquality. Required whenqualityis absent.- Parameters:
features- Its scores on the characteristics infeatures, instead ofquality. Required whenqualityis absent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-