@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetTrafficPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Gets information about a specific traffic policy version.
NOOP
Constructor and Description |
---|
GetTrafficPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
GetTrafficPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public 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 Object
Object.toString()
public GetTrafficPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()