TrafficPolicy class

A complex type that contains settings for a traffic policy.

Constructors

TrafficPolicy({required String document, required String id, required String name, required RRType type, required int version, String? comment})
TrafficPolicy.fromXml(XmlElement elem)
factory

Properties

comment String?
The comment that you specify in the CreateTrafficPolicy request, if any.
final
document String
The definition of a traffic policy in JSON format. You specify the JSON document to use for a new traffic policy in the CreateTrafficPolicy request. For more information about the JSON format, see Traffic Policy Document Format.
final
hashCode int
The hash code for this object.
no setterinherited
id String
The ID that Amazon Route 53 assigned to a traffic policy when you created it.
final
name String
The name that you specified when you created the traffic policy.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type RRType
The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance.
final
version int
The version number that Amazon Route 53 assigns to a traffic policy. For a new traffic policy, the value of Version is always 1.
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