StatusCodes class

A complex data type for the status codes that you specify that, when returned by a primary origin, trigger CloudFront to failover to a second origin.

Constructors

StatusCodes({required List<int> items, required int quantity})
StatusCodes.fromXml(XmlElement elem)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
items List<int>
The items (status codes) for an origin group.
final
quantity int
The number of status codes.
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
toXml(String elemName, {List<XmlAttribute>? attributes}) → XmlElement

Operators

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