Class EstimatedCharges
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<EstimatedCharges.Builder,
EstimatedCharges>
Estimated cost of the agreement.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal String
The total known amount customer has to pay across the lifecycle of the agreement.static EstimatedCharges.Builder
builder()
final String
Defines the currency code for the charge.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
static Class
<? extends EstimatedCharges.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
agreementValue
The total known amount customer has to pay across the lifecycle of the agreement.
This is the total contract value if accepted terms contain
ConfigurableUpfrontPricingTerm
orFixedUpfrontPricingTerm
. In the case of pure contract pricing, this will be the total value of the contract. In the case of contracts with consumption pricing, this will only include the committed value and not include any overages that occur.If the accepted terms contain
PaymentScheduleTerm
, it will be the total payment schedule amount. This occurs when flexible payment schedule is used, and is the sum of all invoice charges in the payment schedule.In case a customer has amended an agreement, by purchasing more units of any dimension, this will include both the original cost as well as the added cost incurred due to addition of new units.
This is
0
if the accepted terms containUsageBasedPricingTerm
withoutConfigurableUpfrontPricingTerm
orRecurringPaymentTerm
. This occurs for usage-based pricing (such as SaaS metered or AMI/container hourly or monthly), because the exact usage is not known upfront.- Returns:
- The total known amount customer has to pay across the lifecycle of the agreement.
This is the total contract value if accepted terms contain
ConfigurableUpfrontPricingTerm
orFixedUpfrontPricingTerm
. In the case of pure contract pricing, this will be the total value of the contract. In the case of contracts with consumption pricing, this will only include the committed value and not include any overages that occur.If the accepted terms contain
PaymentScheduleTerm
, it will be the total payment schedule amount. This occurs when flexible payment schedule is used, and is the sum of all invoice charges in the payment schedule.In case a customer has amended an agreement, by purchasing more units of any dimension, this will include both the original cost as well as the added cost incurred due to addition of new units.
This is
0
if the accepted terms containUsageBasedPricingTerm
withoutConfigurableUpfrontPricingTerm
orRecurringPaymentTerm
. This occurs for usage-based pricing (such as SaaS metered or AMI/container hourly or monthly), because the exact usage is not known upfront.
-
currencyCode
Defines the currency code for the charge.
- Returns:
- Defines the currency code for the charge.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<EstimatedCharges.Builder,
EstimatedCharges> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-