public class GetTrafficPolicyInstanceRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Gets information about a specified traffic policy instance.
To get information about a traffic policy instance, send a GET
request to the
/Route 53 API version/trafficpolicyinstance/Id
resource.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
id
The ID of the traffic policy instance that you want to get information
about.
|
NOOP
Constructor and Description |
---|
GetTrafficPolicyInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
GetTrafficPolicyInstanceRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getId()
The ID of the traffic policy instance that you want to get information
about.
|
int |
hashCode() |
void |
setId(java.lang.String id)
The ID of the traffic policy instance that you want to get information
about.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetTrafficPolicyInstanceRequest |
withId(java.lang.String id)
The ID of the traffic policy instance 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, withSdkRequestTimeout
private java.lang.String id
The ID of the traffic policy instance that you want to get information about.
public void setId(java.lang.String id)
The ID of the traffic policy instance that you want to get information about.
id
- The ID of the traffic policy instance that you want to get
information about.public java.lang.String getId()
The ID of the traffic policy instance that you want to get information about.
public GetTrafficPolicyInstanceRequest withId(java.lang.String id)
The ID of the traffic policy instance that you want to get information about.
id
- The ID of the traffic policy instance that you want to get
information about.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetTrafficPolicyInstanceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()