@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTrafficPolicyInstanceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
A complex type that contains the response information for the CreateTrafficPolicyInstance
request.
Constructor and Description |
---|
CreateTrafficPolicyInstanceResult() |
Modifier and Type | Method and Description |
---|---|
CreateTrafficPolicyInstanceResult |
clone() |
boolean |
equals(Object obj) |
String |
getLocation()
A unique URL that represents a new traffic policy instance.
|
TrafficPolicyInstance |
getTrafficPolicyInstance()
A complex type that contains settings for the new traffic policy instance.
|
int |
hashCode() |
void |
setLocation(String location)
A unique URL that represents a new traffic policy instance.
|
void |
setTrafficPolicyInstance(TrafficPolicyInstance trafficPolicyInstance)
A complex type that contains settings for the new traffic policy instance.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateTrafficPolicyInstanceResult |
withLocation(String location)
A unique URL that represents a new traffic policy instance.
|
CreateTrafficPolicyInstanceResult |
withTrafficPolicyInstance(TrafficPolicyInstance trafficPolicyInstance)
A complex type that contains settings for the new traffic policy instance.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTrafficPolicyInstance(TrafficPolicyInstance trafficPolicyInstance)
A complex type that contains settings for the new traffic policy instance.
trafficPolicyInstance
- A complex type that contains settings for the new traffic policy instance.public TrafficPolicyInstance getTrafficPolicyInstance()
A complex type that contains settings for the new traffic policy instance.
public CreateTrafficPolicyInstanceResult withTrafficPolicyInstance(TrafficPolicyInstance trafficPolicyInstance)
A complex type that contains settings for the new traffic policy instance.
trafficPolicyInstance
- A complex type that contains settings for the new traffic policy instance.public void setLocation(String location)
A unique URL that represents a new traffic policy instance.
location
- A unique URL that represents a new traffic policy instance.public String getLocation()
A unique URL that represents a new traffic policy instance.
public CreateTrafficPolicyInstanceResult withLocation(String location)
A unique URL that represents a new traffic policy instance.
location
- A unique URL that represents a new traffic policy instance.public String toString()
toString
in class Object
Object.toString()
public CreateTrafficPolicyInstanceResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.