public class DeleteTrafficPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DeleteTrafficPolicy operation.
Deletes a traffic policy. To delete a traffic policy, send a
DELETE request to the
2013-04-01/trafficpolicy resource.
NOOP| Constructor and Description |
|---|
DeleteTrafficPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
DeleteTrafficPolicyRequest |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The ID of the traffic policy that you want to delete.
|
Integer |
getVersion()
The version number of the traffic policy that you want to delete.
|
int |
hashCode() |
void |
setId(String id)
The ID of the traffic policy that you want to delete.
|
void |
setVersion(Integer version)
The version number of the traffic policy that you want to delete.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteTrafficPolicyRequest |
withId(String id)
The ID of the traffic policy that you want to delete.
|
DeleteTrafficPolicyRequest |
withVersion(Integer version)
The version number of the traffic policy that you want to delete.
|
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 delete.public DeleteTrafficPolicyRequest 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 delete.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 delete.public DeleteTrafficPolicyRequest 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 delete.public String toString()
toString in class ObjectObject.toString()public DeleteTrafficPolicyRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.