Class TrafficPolicyInstance
- java.lang.Object
-
- com.amazonaws.services.route53.model.TrafficPolicyInstance
-
- All Implemented Interfaces:
Serializable,Cloneable
public class TrafficPolicyInstance extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TrafficPolicyInstance()
-
Method Summary
-
-
-
Method Detail
-
setId
public void setId(String id)
- Parameters:
id-
-
getId
public String getId()
- Returns:
-
withId
public TrafficPolicyInstance withId(String id)
- Parameters:
id-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHostedZoneId
public void setHostedZoneId(String hostedZoneId)
- Parameters:
hostedZoneId-
-
getHostedZoneId
public String getHostedZoneId()
- Returns:
-
withHostedZoneId
public TrafficPolicyInstance withHostedZoneId(String hostedZoneId)
- Parameters:
hostedZoneId-- 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 TrafficPolicyInstance withName(String name)
- Parameters:
name-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTTL
public void setTTL(Long tTL)
- Parameters:
tTL-
-
getTTL
public Long getTTL()
- Returns:
-
withTTL
public TrafficPolicyInstance withTTL(Long tTL)
- Parameters:
tTL-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setState
public void setState(String state)
- Parameters:
state-
-
getState
public String getState()
- Returns:
-
withState
public TrafficPolicyInstance withState(String state)
- Parameters:
state-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMessage
public void setMessage(String message)
- Parameters:
message-
-
getMessage
public String getMessage()
- Returns:
-
withMessage
public TrafficPolicyInstance withMessage(String message)
- Parameters:
message-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTrafficPolicyId
public void setTrafficPolicyId(String trafficPolicyId)
- Parameters:
trafficPolicyId-
-
getTrafficPolicyId
public String getTrafficPolicyId()
- Returns:
-
withTrafficPolicyId
public TrafficPolicyInstance withTrafficPolicyId(String trafficPolicyId)
- Parameters:
trafficPolicyId-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTrafficPolicyVersion
public void setTrafficPolicyVersion(Integer trafficPolicyVersion)
- Parameters:
trafficPolicyVersion-
-
getTrafficPolicyVersion
public Integer getTrafficPolicyVersion()
- Returns:
-
withTrafficPolicyVersion
public TrafficPolicyInstance withTrafficPolicyVersion(Integer trafficPolicyVersion)
- Parameters:
trafficPolicyVersion-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTrafficPolicyType
public void setTrafficPolicyType(String trafficPolicyType)
- Parameters:
trafficPolicyType-- See Also:
RRType
-
withTrafficPolicyType
public TrafficPolicyInstance withTrafficPolicyType(String trafficPolicyType)
- Parameters:
trafficPolicyType-- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RRType
-
setTrafficPolicyType
public void setTrafficPolicyType(RRType trafficPolicyType)
- Parameters:
trafficPolicyType-- See Also:
RRType
-
withTrafficPolicyType
public TrafficPolicyInstance withTrafficPolicyType(RRType trafficPolicyType)
- Parameters:
trafficPolicyType-- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RRType
-
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 TrafficPolicyInstance clone()
-
-