public class CreateTrafficPolicyVersionResult extends Object implements Serializable, Cloneable
A complex type that contains the response information for the
CreateTrafficPolicyVersion request.
| Constructor and Description |
|---|
CreateTrafficPolicyVersionResult() |
| Modifier and Type | Method and 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.
|
public void setTrafficPolicy(TrafficPolicy trafficPolicy)
A complex type that contains settings for the new version of the traffic policy.
trafficPolicy - A complex type that contains settings for the new version of the
traffic policy.public TrafficPolicy getTrafficPolicy()
A complex type that contains settings for the new version of the traffic policy.
public CreateTrafficPolicyVersionResult withTrafficPolicy(TrafficPolicy trafficPolicy)
A complex type that contains settings for the new version of the traffic policy.
trafficPolicy - A complex type that contains settings for the new version of the
traffic policy.public void setLocation(String location)
location - public String getLocation()
public CreateTrafficPolicyVersionResult withLocation(String location)
location - public String toString()
toString in class ObjectObject.toString()public CreateTrafficPolicyVersionResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.