SavingsPlan class

Information about a Savings Plan.

Annotations
  • @JsonSerializable(includeIfNull: false, explicitToJson: true, createFactory: true, createToJson: false)

Constructors

SavingsPlan({String commitment, CurrencyCode currency, String description, String ec2InstanceFamily, String end, String offeringId, SavingsPlanPaymentOption paymentOption, List<SavingsPlanProductType> productTypes, String recurringPaymentAmount, String region, String savingsPlanArn, String savingsPlanId, SavingsPlanType savingsPlanType, String start, SavingsPlanState state, Map<String, String> tags, int termDurationInSeconds, String upfrontPaymentAmount})
SavingsPlan.fromJson(Map<String, dynamic> json)
factory

Properties

commitment String
The hourly commitment, in USD.
@JsonKey(name: 'commitment'), final
currency CurrencyCode
The currency.
@JsonKey(name: 'currency'), final
description String
The description.
@JsonKey(name: 'description'), final
ec2InstanceFamily String
The EC2 instance family.
@JsonKey(name: 'ec2InstanceFamily'), final
end String
The end time.
@JsonKey(name: 'end'), final
hashCode int
The hash code for this object. [...]
read-only, inherited
offeringId String
The ID of the offering.
@JsonKey(name: 'offeringId'), final
paymentOption SavingsPlanPaymentOption
The payment option.
@JsonKey(name: 'paymentOption'), final
productTypes List<SavingsPlanProductType>
The product types.
@JsonKey(name: 'productTypes'), final
recurringPaymentAmount String
The recurring payment amount.
@JsonKey(name: 'recurringPaymentAmount'), final
region String
The AWS Region.
@JsonKey(name: 'region'), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
savingsPlanArn String
The Amazon Resource Name (ARN) of the Savings Plan.
@JsonKey(name: 'savingsPlanArn'), final
savingsPlanId String
The ID of the Savings Plan.
@JsonKey(name: 'savingsPlanId'), final
savingsPlanType SavingsPlanType
The plan type.
@JsonKey(name: 'savingsPlanType'), final
start String
The start time.
@JsonKey(name: 'start'), final
state SavingsPlanState
The state.
@JsonKey(name: 'state'), final
tags Map<String, String>
One or more tags.
@JsonKey(name: 'tags'), final
termDurationInSeconds int
The duration of the term, in seconds.
@JsonKey(name: 'termDurationInSeconds'), final
upfrontPaymentAmount String
The up-front payment amount.
@JsonKey(name: 'upfrontPaymentAmount'), final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited