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