Struct rusoto_route53::TrafficPolicy [−][src]
pub struct TrafficPolicy { pub comment: Option<String>, pub document: String, pub id: String, pub name: String, pub type_: String, pub version: i64, }
A complex type that contains settings for a traffic policy.
Fields
comment: Option<String>
The comment that you specify in the CreateTrafficPolicy
request, if any.
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.
id: String
The ID that Amazon Route 53 assigned to a traffic policy when you created it.
name: String
The name that you specified when you created the traffic policy.
type_: String
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.
version: i64
The version number that Amazon Route 53 assigns to a traffic policy. For a new traffic policy, the value of Version
is always 1.
Trait Implementations
impl Default for TrafficPolicy
[src]
impl Default for TrafficPolicy
fn default() -> TrafficPolicy
[src]
fn default() -> TrafficPolicy
Returns the "default value" for a type. Read more
impl Debug for TrafficPolicy
[src]
impl Debug for TrafficPolicy
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for TrafficPolicy
[src]
impl Clone for TrafficPolicy
fn clone(&self) -> TrafficPolicy
[src]
fn clone(&self) -> TrafficPolicy
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for TrafficPolicy
[src]
impl PartialEq for TrafficPolicy
fn eq(&self, other: &TrafficPolicy) -> bool
[src]
fn eq(&self, other: &TrafficPolicy) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &TrafficPolicy) -> bool
[src]
fn ne(&self, other: &TrafficPolicy) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for TrafficPolicy
impl Send for TrafficPolicy
impl Sync for TrafficPolicy
impl Sync for TrafficPolicy