@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTrafficPolicyVersionResult extends AmazonWebServiceResult<ResponseMetadata> 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()
A unique URL that represents a new traffic policy version.
|
TrafficPolicy |
getTrafficPolicy()
A complex type that contains settings for the new version of the traffic policy.
|
int |
hashCode() |
void |
setLocation(String location)
A unique URL that represents a new traffic policy version.
|
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)
A unique URL that represents a new traffic policy version.
|
CreateTrafficPolicyVersionResult |
withTrafficPolicy(TrafficPolicy trafficPolicy)
A complex type that contains settings for the new version of the traffic policy.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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)
A unique URL that represents a new traffic policy version.
location
- A unique URL that represents a new traffic policy version.public String getLocation()
A unique URL that represents a new traffic policy version.
public CreateTrafficPolicyVersionResult withLocation(String location)
A unique URL that represents a new traffic policy version.
location
- A unique URL that represents a new traffic policy version.public String toString()
toString
in class Object
Object.toString()
public CreateTrafficPolicyVersionResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.