Reservation class
Reserved resources available to use
Constructors
-
Reservation({String? arn, int? count, String? currencyCode, int? duration, OfferingDurationUnits? durationUnits, String? end, double? fixedPrice, String? name, String? offeringDescription, String? offeringId, OfferingType? offeringType, String? region, String? reservationId, ReservationResourceSpecification? resourceSpecification, String? start, ReservationState? state, Map<
String, String> ? tags, double? usagePrice}) -
Reservation.fromJson(Map<
String, dynamic> json) -
factory
Properties
- arn → String?
-
Unique reservation ARN, e.g.
'arn:aws:medialive:us-west-2:123456789012:reservation:1234567'
final
- count → int?
-
Number of reserved resources
final
- currencyCode → String?
-
Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'
final
- duration → int?
-
Lease duration, e.g. '12'
final
- durationUnits → OfferingDurationUnits?
-
Units for duration, e.g. 'MONTHS'
final
- end → String?
-
Reservation UTC end date and time in ISO-8601 format, e.g.
'2019-03-01T00:00:00'
final
- fixedPrice → double?
-
One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT
offering
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String?
-
User specified reservation name
final
- offeringDescription → String?
-
Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and
standard VQ in US West (Oregon)'
final
- offeringId → String?
-
Unique offering ID, e.g. '87654321'
final
- offeringType → OfferingType?
-
Offering type, e.g. 'NO_UPFRONT'
final
- region → String?
-
AWS region, e.g. 'us-west-2'
final
- reservationId → String?
-
Unique reservation ID, e.g. '1234567'
final
- resourceSpecification → ReservationResourceSpecification?
-
Resource configuration details
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start → String?
-
Reservation UTC start date and time in ISO-8601 format, e.g.
'2018-03-01T00:00:00'
final
- state → ReservationState?
-
Current state of reservation, e.g. 'ACTIVE'
final
-
A collection of key-value pairs
final
- usagePrice → double?
-
Recurring usage charge for each reserved resource, e.g. '157.0'
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited