CustomHeaders class

A complex type that contains the list of Custom Headers for each origin.

Constructors

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

Properties

hashCode → int
The hash code for this object.
no setterinherited
items → List<OriginCustomHeader>?
Optional: A list that contains one OriginCustomHeader element for each custom header that you want CloudFront to forward to the origin. If Quantity is 0, omit Items.
final
quantity → int
The number of custom headers, if any, for this distribution.
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