@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TrafficPolicySummary extends Object implements Serializable, Cloneable
A complex type that contains information about the latest version of one traffic policy that is associated with the current AWS account.
Constructor and Description |
---|
TrafficPolicySummary() |
Modifier and Type | Method and Description |
---|---|
TrafficPolicySummary |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The ID that Amazon Route 53 assigned to the traffic policy when you created it.
|
Integer |
getLatestVersion()
The version number of the latest version of the traffic policy.
|
String |
getName()
The name that you specified for the traffic policy when you created it.
|
Integer |
getTrafficPolicyCount()
The number of traffic policies that are associated with the current AWS account.
|
String |
getType()
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.
|
int |
hashCode() |
void |
setId(String id)
The ID that Amazon Route 53 assigned to the traffic policy when you created it.
|
void |
setLatestVersion(Integer latestVersion)
The version number of the latest version of the traffic policy.
|
void |
setName(String name)
The name that you specified for the traffic policy when you created it.
|
void |
setTrafficPolicyCount(Integer trafficPolicyCount)
The number of traffic policies that are associated with the current AWS account.
|
void |
setType(RRType type)
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.
|
void |
setType(String type)
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
TrafficPolicySummary |
withId(String id)
The ID that Amazon Route 53 assigned to the traffic policy when you created it.
|
TrafficPolicySummary |
withLatestVersion(Integer latestVersion)
The version number of the latest version of the traffic policy.
|
TrafficPolicySummary |
withName(String name)
The name that you specified for the traffic policy when you created it.
|
TrafficPolicySummary |
withTrafficPolicyCount(Integer trafficPolicyCount)
The number of traffic policies that are associated with the current AWS account.
|
TrafficPolicySummary |
withType(RRType type)
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.
|
TrafficPolicySummary |
withType(String type)
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.
|
public void setId(String id)
The ID that Amazon Route 53 assigned to the traffic policy when you created it.
id
- The ID that Amazon Route 53 assigned to the traffic policy when you created it.public String getId()
The ID that Amazon Route 53 assigned to the traffic policy when you created it.
public TrafficPolicySummary withId(String id)
The ID that Amazon Route 53 assigned to the traffic policy when you created it.
id
- The ID that Amazon Route 53 assigned to the traffic policy when you created it.public void setName(String name)
The name that you specified for the traffic policy when you created it.
name
- The name that you specified for the traffic policy when you created it.public String getName()
The name that you specified for the traffic policy when you created it.
public TrafficPolicySummary withName(String name)
The name that you specified for the traffic policy when you created it.
name
- The name that you specified for the traffic policy when you created it.public void setType(String type)
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.
type
- 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.RRType
public String getType()
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.
RRType
public TrafficPolicySummary withType(String type)
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.
type
- 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.RRType
public void setType(RRType type)
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.
type
- 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.RRType
public TrafficPolicySummary withType(RRType type)
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.
type
- 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.RRType
public void setLatestVersion(Integer latestVersion)
The version number of the latest version of the traffic policy.
latestVersion
- The version number of the latest version of the traffic policy.public Integer getLatestVersion()
The version number of the latest version of the traffic policy.
public TrafficPolicySummary withLatestVersion(Integer latestVersion)
The version number of the latest version of the traffic policy.
latestVersion
- The version number of the latest version of the traffic policy.public void setTrafficPolicyCount(Integer trafficPolicyCount)
The number of traffic policies that are associated with the current AWS account.
trafficPolicyCount
- The number of traffic policies that are associated with the current AWS account.public Integer getTrafficPolicyCount()
The number of traffic policies that are associated with the current AWS account.
public TrafficPolicySummary withTrafficPolicyCount(Integer trafficPolicyCount)
The number of traffic policies that are associated with the current AWS account.
trafficPolicyCount
- The number of traffic policies that are associated with the current AWS account.public String toString()
toString
in class Object
Object.toString()
public TrafficPolicySummary clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.