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 TrafficPolicySummary
clone()
boolean
equals(Object obj)
String
getId()
Integer
getLatestVersion()
String
getName()
Integer
getTrafficPolicyCount()
String
getType()
int
hashCode()
void
setId(String id)
void
setLatestVersion(Integer latestVersion)
void
setName(String name)
void
setTrafficPolicyCount(Integer trafficPolicyCount)
void
setType(RRType type)
void
setType(String type)
String
toString()
Returns a string representation of this object; useful for testing and debugging.TrafficPolicySummary
withId(String id)
TrafficPolicySummary
withLatestVersion(Integer latestVersion)
TrafficPolicySummary
withName(String name)
TrafficPolicySummary
withTrafficPolicyCount(Integer trafficPolicyCount)
TrafficPolicySummary
withType(RRType type)
TrafficPolicySummary
withType(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public TrafficPolicySummary clone()
-
-