Class TrafficPolicySummary
- java.lang.Object
-
- com.amazonaws.services.route53.model.TrafficPolicySummary
-
- All Implemented Interfaces:
Serializable,Cloneable
public class TrafficPolicySummary extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TrafficPolicySummary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TrafficPolicySummaryclone()booleanequals(Object obj)StringgetId()IntegergetLatestVersion()StringgetName()IntegergetTrafficPolicyCount()StringgetType()inthashCode()voidsetId(String id)voidsetLatestVersion(Integer latestVersion)voidsetName(String name)voidsetTrafficPolicyCount(Integer trafficPolicyCount)voidsetType(RRType type)voidsetType(String type)StringtoString()Returns a string representation of this object; useful for testing and debugging.TrafficPolicySummarywithId(String id)TrafficPolicySummarywithLatestVersion(Integer latestVersion)TrafficPolicySummarywithName(String name)TrafficPolicySummarywithTrafficPolicyCount(Integer trafficPolicyCount)TrafficPolicySummarywithType(RRType type)TrafficPolicySummarywithType(String type)
-
-
-
Method Detail
-
setId
public void setId(String id)
- Parameters:
id-
-
getId
public String getId()
- Returns:
-
withId
public TrafficPolicySummary withId(String id)
- Parameters:
id-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
public void setName(String name)
- Parameters:
name-
-
getName
public String getName()
- Returns:
-
withName
public TrafficPolicySummary withName(String name)
- Parameters:
name-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withType
public TrafficPolicySummary withType(String type)
- Parameters:
type-- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RRType
-
withType
public TrafficPolicySummary withType(RRType type)
- Parameters:
type-- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RRType
-
setLatestVersion
public void setLatestVersion(Integer latestVersion)
- Parameters:
latestVersion-
-
getLatestVersion
public Integer getLatestVersion()
- Returns:
-
withLatestVersion
public TrafficPolicySummary withLatestVersion(Integer latestVersion)
- Parameters:
latestVersion-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTrafficPolicyCount
public void setTrafficPolicyCount(Integer trafficPolicyCount)
- Parameters:
trafficPolicyCount-
-
getTrafficPolicyCount
public Integer getTrafficPolicyCount()
- Returns:
-
withTrafficPolicyCount
public TrafficPolicySummary withTrafficPolicyCount(Integer trafficPolicyCount)
- Parameters:
trafficPolicyCount-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public TrafficPolicySummary clone()
-
-