Class GetTrafficPolicyResult
- java.lang.Object
-
- com.amazonaws.services.route53.model.GetTrafficPolicyResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class GetTrafficPolicyResult extends Object implements Serializable, Cloneable
A complex type that contains the response information for the request.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetTrafficPolicyResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetTrafficPolicyResult
clone()
boolean
equals(Object obj)
TrafficPolicy
getTrafficPolicy()
A complex type that contains settings for the specified traffic policy.int
hashCode()
void
setTrafficPolicy(TrafficPolicy trafficPolicy)
A complex type that contains settings for the specified traffic policy.String
toString()
Returns a string representation of this object; useful for testing and debugging.GetTrafficPolicyResult
withTrafficPolicy(TrafficPolicy trafficPolicy)
A complex type that contains settings for the specified traffic policy.
-
-
-
Method Detail
-
setTrafficPolicy
public void setTrafficPolicy(TrafficPolicy trafficPolicy)
A complex type that contains settings for the specified traffic policy.
- Parameters:
trafficPolicy
- A complex type that contains settings for the specified traffic policy.
-
getTrafficPolicy
public TrafficPolicy getTrafficPolicy()
A complex type that contains settings for the specified traffic policy.
- Returns:
- A complex type that contains settings for the specified traffic policy.
-
withTrafficPolicy
public GetTrafficPolicyResult withTrafficPolicy(TrafficPolicy trafficPolicy)
A complex type that contains settings for the specified traffic policy.
- Parameters:
trafficPolicy
- A complex type that contains settings for the specified traffic policy.- 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 GetTrafficPolicyResult clone()
-
-