public class GetTrafficPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Gets information about a specific traffic policy version. To get the information, send a GET request to the /2013-04-01/trafficpolicy resource, and specify the ID and the version of the traffic policy.
NOOP| Constructor and Description |
|---|
GetTrafficPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetTrafficPolicyRequest |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The ID of the traffic policy that you want to get information about.
|
Integer |
getVersion()
The version number of the traffic policy that you want to get information about.
|
int |
hashCode() |
void |
setId(String id)
The ID of the traffic policy that you want to get information about.
|
void |
setVersion(Integer version)
The version number of the traffic policy that you want to get information about.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetTrafficPolicyRequest |
withId(String id)
The ID of the traffic policy that you want to get information about.
|
GetTrafficPolicyRequest |
withVersion(Integer version)
The version number of the traffic policy that you want to get information about.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setId(String id)
The ID of the traffic policy that you want to get information about.
id - The ID of the traffic policy that you want to get information about.public String getId()
The ID of the traffic policy that you want to get information about.
public GetTrafficPolicyRequest withId(String id)
The ID of the traffic policy that you want to get information about.
id - The ID of the traffic policy that you want to get information about.public void setVersion(Integer version)
The version number of the traffic policy that you want to get information about.
version - The version number of the traffic policy that you want to get information about.public Integer getVersion()
The version number of the traffic policy that you want to get information about.
public GetTrafficPolicyRequest withVersion(Integer version)
The version number of the traffic policy that you want to get information about.
version - The version number of the traffic policy that you want to get information about.public String toString()
toString in class ObjectObject.toString()public GetTrafficPolicyRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2016. All rights reserved.