ContainerServicePower class

Describes the powers that can be specified for an Amazon Lightsail container service.

The power specifies the amount of RAM, the number of vCPUs, and the base price of the container service.

Constructors

ContainerServicePower({double? cpuCount, bool? isActive, String? name, String? powerId, double? price, double? ramSizeInGb})
ContainerServicePower.fromJson(Map<String, dynamic> json)
factory

Properties

cpuCount double?
The number of vCPUs included in the power.
final
hashCode int
The hash code for this object.
no setterinherited
isActive bool?
A Boolean value indicating whether the power is active and can be specified for container services.
final
name String?
The friendly name of the power (e.g., nano).
final
powerId String?
The ID of the power (e.g., nano-1).
final
price double?
The monthly price of the power in USD.
final
ramSizeInGb double?
The amount of RAM (in GB) of the power.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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