public class CreateTrafficPolicyResult extends Object implements Serializable, Cloneable
A complex type that contains the response information for the
CreateTrafficPolicy request.
| Constructor and Description |
|---|
CreateTrafficPolicyResult() |
| Modifier and Type | Method and Description |
|---|---|
CreateTrafficPolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getLocation()
Returns the value of the Location property for this object.
|
TrafficPolicy |
getTrafficPolicy()
A complex type that contains settings for the new traffic policy.
|
int |
hashCode() |
void |
setLocation(String location)
Sets the value of the Location property for this object.
|
void |
setTrafficPolicy(TrafficPolicy trafficPolicy)
A complex type that contains settings for the new traffic policy.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateTrafficPolicyResult |
withLocation(String location)
Sets the value of the Location property for this object.
|
CreateTrafficPolicyResult |
withTrafficPolicy(TrafficPolicy trafficPolicy)
A complex type that contains settings for the new traffic policy.
|
public TrafficPolicy getTrafficPolicy()
public void setTrafficPolicy(TrafficPolicy trafficPolicy)
trafficPolicy - A complex type that contains settings for the new traffic policy.public CreateTrafficPolicyResult withTrafficPolicy(TrafficPolicy trafficPolicy)
Returns a reference to this object so that method calls can be chained together.
trafficPolicy - A complex type that contains settings for the new traffic policy.public String getLocation()
Constraints:
Length: 0 - 1024
public void setLocation(String location)
Constraints:
Length: 0 - 1024
location - The new value for the Location property for this object.public CreateTrafficPolicyResult withLocation(String location)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
location - The new value for the Location property for this object.public String toString()
toString in class ObjectObject.toString()public CreateTrafficPolicyResult clone()
Copyright © 2015. All rights reserved.