public class GetTrafficPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
GetTrafficPolicy operation.
Gets information about a specific traffic policy version. To get the
information, send a GET request to the
2013-04-01/trafficpolicy resource.
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, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic String getId()
Constraints:
Length: 0 - 36
public void setId(String id)
Constraints:
Length: 0 - 36
id - The ID of the traffic policy that you want to get information about.public GetTrafficPolicyRequest withId(String id)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 36
id - The ID of the traffic policy that you want to get information about.public Integer getVersion()
Constraints:
Range: 1 - 1000
public void setVersion(Integer version)
Constraints:
Range: 1 - 1000
version - The version number of the traffic policy that you want to get
information about.public GetTrafficPolicyRequest withVersion(Integer version)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 1000
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 © 2015. All rights reserved.