public class CreateTrafficPolicyVersionResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A complex type that contains the response information for the
CreateTrafficPolicyVersion
request.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
location |
private TrafficPolicy |
trafficPolicy
A complex type that contains settings for the new version of the traffic
policy.
|
Constructor and Description |
---|
CreateTrafficPolicyVersionResult() |
Modifier and Type | Method and Description |
---|---|
CreateTrafficPolicyVersionResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLocation() |
TrafficPolicy |
getTrafficPolicy()
A complex type that contains settings for the new version of the traffic
policy.
|
int |
hashCode() |
void |
setLocation(java.lang.String location) |
void |
setTrafficPolicy(TrafficPolicy trafficPolicy)
A complex type that contains settings for the new version of the traffic
policy.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateTrafficPolicyVersionResult |
withLocation(java.lang.String location) |
CreateTrafficPolicyVersionResult |
withTrafficPolicy(TrafficPolicy trafficPolicy)
A complex type that contains settings for the new version of the traffic
policy.
|
private TrafficPolicy trafficPolicy
A complex type that contains settings for the new version of the traffic policy.
private java.lang.String location
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(java.lang.String location)
location
- public java.lang.String getLocation()
public CreateTrafficPolicyVersionResult withLocation(java.lang.String location)
location
- public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateTrafficPolicyVersionResult clone()
clone
in class java.lang.Object