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